Dear Friends,
Using the EMCEE tutorial I've written the code in the attachment. But the Python sends error.
I am confused and I don't know how should I do.
The error is:
Warning (from warnings module):
File "C:\Python36-32\lib\site-packages\emcee\ensemble.py", line 335
lnpdiff = (self.dim - 1.) * np.log(zz) + newlnprob - lnprob0
RuntimeWarning: invalid value encountered in subtract
Warning (from warnings module):
File "C:\Python36-32\lib\site-packages\emcee\ensemble.py", line 336
accept = (lnpdiff > np.log(self._random.rand(len(lnpdiff))))
RuntimeWarning: invalid value encountered in greater
WARNING:root:Too few points to create valid contours
WARNING:root:Too few points to create valid contours
WARNING:root:Too few points to create valid contours
I appreciate your help.