Probabilistic Programming, Pyro, Data Science, Hands On Tutorials.
notice our code is slightly different but we are still calculating a linear combination of our X data and our coefficients, except now we take the exp of that combination to get the mean value of our data point. We also sample a rate parameter, and use the mean and rate to calculate the appropriate