I am new for pymc3, I am creating a probability model, but there have been some problems, and I would be grateful if someone could help me.
here is the code:
with pm.Model() as drawBj:
Mu = pm.InverseGamma('Mu', alpha=Alpha, beta=Beta)
Eta = pm.Uniform('Eta', lower=0.0, upper=1.0)
temp1 = Mu*Eta
temp2 = Mu*(1-Eta)
bj = pm.Beta('bj', alpha=temp1, beta=temp2, shape=D)
temp_a = a*bj
temp_b = a*(1 - bj)
obs_Y = pm.Kumaraswamy('obs_Y', a=temp_a, b=temp_b,observed=temp_X)
trace = pm.sample(1000)
error:
Sampling 2 chains: 100%|██████████| 1200/1200 [00:07<00:00, 170.07draws/s]
C:\Users\lenovo\Anaconda3\lib\site-packages\mkl_fft\_numpy_fft.py:1044: FutureWarning:
Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]`
instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`,
which will result either in an error or a different result. output = mkl_fft.rfftn_numpy(a, s, axes)
Process finished with exit code -1073741571 (0xC00000FD)
environment:
python 3.6
windows 7
pycharm
pymc3