Description Usage Arguments Value See Also
Makes predictions for new data from the fitted model. Model have already been fit to at least 1 batch of data.
1 2 |
object |
A 'stoch_logistic' object as output by function 'stochastic.logistic.regression'. |
newdata |
New data on which to make predictions. |
type |
Type of prediction to make. Can pass 'prob' to get probabilities for the positive class, or 'class' to get the predicted class. |
... |
Not used. |
A vector with the predicted classes or probabilities for 'newdata'.
stochastic.logistic.regression
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.