Predict the y value for all data points, given and the sample from posterior of betas
1 | get_predictions(X, beta)
|
X |
A design matrix. |
beta |
Sample from the posterior distribution of betas. Alternatively, could be a vector with estimated betas. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.