waic and loo from loo package make R studio crash -
my r studio crashes when run either
waic <- loo::waic(log_lik,na.rm = t)
or
loo <- loo::loo(log_lik)
.
log_lik
looks this
> str(log_lik) num [1:50, 1:225305] 0.823 0.828 -0.738 0.7 -0.719 ... > max(log_lik) [1] 2.188277 > min(log_lik) [1] -128.6936 > mean(log_lik) [1] -0.600717
try increase memory limit:
memory.limit(10^10)
Comments
Post a Comment