Probabilistic-Programming-and-Bayesian-Methods-for-Hackers icon indicating copy to clipboard operation
Probabilistic-Programming-and-Bayesian-Methods-for-Hackers copied to clipboard

aka "Bayesian Methods for Hackers": An introduction to Bayesian methods + probabilistic programming with a computation/understanding-first, mathematics-second point of view. All in pure Python ;)

Results 119 Probabilistic-Programming-and-Bayesian-Methods-for-Hackers issues
Sort by recently updated
recently updated
newest added

While excecuting follow code: `samples = [lambda_1.random()[0] for i in range(20000)]` it shows: ``` Traceback (most recent call last): File "C:/Users/13910/PycharmProjects/untitled/rist.py", line 15, in samples = [lambda_1.random()[0] for i in...

In section 3.2.1 on autocorrelation, it is stated that > one way of thinking about autocorrelation is "If I know the position of the series at time *s*, can it...

I just started going through the jupyter notebooks (great stuff, by the way), and when running the cells the first time I would always get some error like `Polygon has...

Normed has been deprecated and now throws an error - https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.pyplot.hist.html

do you have code for Bayesian classifier for categorical data? It is ridiculous, but nobody have such a practical code even scikit learn added recently one but , this code...

# Build graph data = tf.constant([10., 5.], dtype=tf.float32) rv_poisson = tfd.Poisson(rate=tf.reduce_mean(data))## instead of -->>rv_poisson = tfd.Poisson(rate=1./tf.reduce_mean(data)) in Poisson rate is mean and in Exponential it should be 1/mean poisson =...

First off...thank you SO SO MUCH for updating this code and porting it to some modern tools. This a huge resource for the community and especially someone like me who...

Id like to cite the book mantained in this repo with bibtex. There's of course [Google Scholar's version](https://scholar.googleusercontent.com/scholar.bib?q=info:cC2CFdK6F_cJ:scholar.google.com/&output=citation&scisdr=CgVQr4UFEPvlr-xzK-0:AAGBfm0AAAAAXhx2M-2SEkoBfztul5OqKQnOJWPXnqJI&scisig=AAGBfm0AAAAAXhx2M5KdAJsuw0WCQ_3IceBYHdG-_ckA&scisf=4&ct=citation&cd=-1&hl=en). But it refers to amazon's version of the book, it indicates 2015...

True answer testval shouldn't be set with random binomial distribution, or it will lead observed_proportion.tag.test_value later ( true value should be around 0.25) to equal the testval(around 0.5). And this...

When i run `Ch1_Introduction_PyMC3.ipynb` sequentially everything works great until i get to the following line: ``` ### Mysterious code to be explained in Chapter 3. with model: step = pm.Metropolis()...