Comments (6)
did you try dataset.prior["y"]
?
from bap.
Nope doesn't work either. Problematic cell is: prior_predictive = dataset.prior["y,"].values.flatten()
from bap.
"In [10]" of Question 5
from bap.
Sorry to insist but it seems you are writing ["y,"]
, with a comma, instead of ["y"]
. If this is not the problem could post a minimal reproducible example?
from bap.
It is not me adding the comma, it is you:
In the file:
https://github.com/aloctavodia/BAP/blob/master/exercises/Chapter3.ipynb
In question 5:
In [10]:
print(dataset.prior["y,"].values.shape)
prior_predictive = dataset.prior["y,"].values.flatten()
prior_predictive.shape
from bap.
OK, It was not clear to me you were talking about the solved exercises in the repo and not something in the book. With the last versions of arviz you have to use the prior_predictive
group instead of the prior
one.
dataset.prior_predictive["y,"].values.flatten()
from bap.
Related Issues (20)
- Confusion about the Regression with spatial autocorrelation sample of Ch7 HOT 2
- arviz._fast_kde deprecated HOT 6
- Please update the codes in Chapter 5
- Figure 4.12
- Add pip to bap.yml file HOT 3
- the code "Multiple logistic regression" error HOT 2
- Understanding the plot_trace HOT 1
- Chapter 7 Error - LinAlgError: Matrix is not positive definite HOT 2
- module 'arviz' has no attribute 'geweke' HOT 9
- Probability of superiority in Chapter2 HOT 3
- hdf5 installation error on windows when installing from bap.yml HOT 2
- Add link to license in readme HOT 2
- [BUG] Link to download of anaconda not rendering correctly HOT 1
- Add section for links to books in readme HOT 3
- Troubleshooting installation issues with M1P MBP, conda environment, and arviz HOT 2
- Softmax function in aesara HOT 2
- pymc.gp.cov.WhiteNoise cannot be added to pymc.gp.cov.ExpQuad
- Question about Bayesian Analysis with Python 2nd Edition Chapter 7 Exercise 3 HOT 3
- module 'arviz' has no attribute 'plot_posterior HOT 2
- Correction to Equation 3.10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bap.