On 2/10/14, 1:17 PM,
matus.s...@privatdemail.net wrote:
> Yes, Linux.
>
> If I set the seed from python the error doesn't appear. At least I haven't got any error by running
>
> |
> np.random.seed(42)
> N=np.random.randint(2**16,size=100)
> for n in N:
> print n
> fit=sm.sampling(iter=1000,chains=4,warmup=200,thin=2,n_jobs=2,seed=n)
> |
>
> I will take care to set the seed. That resolves my problem.
>
> Thanks,
>
> Matus
>
> On Monday, February 10, 2014 2:48:58 AM UTC+1, Allen Riddell wrote:
>
> Hi Matus,
>
> This is the first time I've seen this error. Thanks for reporting it. Are you
> using Linux?
>
> I'm not sure how one can debug this error but I do have a suggestion that might
> fix it. If you just set a random seed each time you call `sampling` it's
> possible everything will work (it's also not a bad idea in general). For
> example,
>
> fit = sm.sampling(data=dat,iter=1000,chains=4,warmup=200,thin=2,n_jobs=2, seed=5)
>
> If the error still occurs, please post the seed you are using.
>
> Best wishes,
>
> -a
>