Description Usage Arguments Details Value
Deploy a model to predict outcomes from the data.
1 2 3 4 5 6 7 8 9 10 11 12 | ## S4 method for signature 'ExprsMachine'
predict(object, array, verbose = TRUE)
## S4 method for signature 'ExprsModule'
predict(object, array, verbose = TRUE)
## S4 method for signature 'RegrsModel'
predict(object, array, verbose = TRUE)
## S4 method for signature 'ExprsEnsemble'
predict(object, array, how = "majority",
verbose = TRUE)
|
object |
An |
array |
An |
verbose |
A boolean. Argument passed to |
how |
A string. Describes how the ensemble decides. By default, it uses "majority" voting. However, the user can select "probability" voting for binary classifier ensembles. |
Models can only get deployed on an object of the type used to build the model. This method now supports binary classification, multi-class classification, and regression.
For regression ensembles, the average outcome is reported. For multi-class classifier ensembles, the majority vote is reported. For binary classifier ensembles, the majority vote or probability-weighted vote is reported. For probability-weighted voting considers the threshold, the average "Case" probability is reported. All ties broken randomly.
Returns an exprso
prediction object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.