Description Usage Arguments Value Examples
Predict Method for a bpwpm
1 2 3 |
object |
An object of the class bpwpm |
new_Y |
New Y data to make the prediction for. However, the train Y data can be used to evaluate the model |
new_X |
New X data to make the prediction for. However, the train X data can be used to evaluate the model |
burn_in |
A burn in parameter for the MCMC Chain |
thin |
A thinning parameter for the MCMC Chain |
type |
The type of punctual estimation for the parameters. Options include: mean, mode or median. |
... |
further arguments passed to or from other methods |
An object of the class bpwpm_prediction
containing:
A formated string that describes the basics of the model
The type of posterior probability used
The fitted probabilities for the input
An object of the class bpwpm_params
, created by
the function posterior_params
The confusion matrix for this model, and prediction
The accuracy of the model. This can be misleading.
The log loss for the Y response and the fitted probabilities
The X input matrix passed down to the method. Used for plotting methods
The Y input matrix passed down to the method. Used for plotting methods
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.