Open alxfed opened 1 year ago
You need to specify the names of the arguments. NOT : ax = sns.lineplot(x, dist.Beta(w + 1, n - w + 1).log_prob(x).exp()) but : ax = sns.lineplot(x=x, y=dist.Beta(w + 1, n - w + 1).log_prob(x).exp()) ... etc.
ax = sns.lineplot(x, dist.Beta(w + 1, n - w + 1).log_prob(x).exp())
ax = sns.lineplot(x=x, y=dist.Beta(w + 1, n - w + 1).log_prob(x).exp())
Thanks @alxfed! The code in this repo is not maintained. Please checkout the numpyro version https://github.com/fehiepsi/rethinking-numpyro for working codes.
You need to specify the names of the arguments. NOT :
ax = sns.lineplot(x, dist.Beta(w + 1, n - w + 1).log_prob(x).exp())
but :ax = sns.lineplot(x=x, y=dist.Beta(w + 1, n - w + 1).log_prob(x).exp())
... etc.