predict_Weka_classifier | R Documentation |
Predicted values based on fitted Weka classifier models.
## S3 method for class 'Weka_classifier' predict(object, newdata = NULL, type = c("class", "probability"), ...)
object |
an object of class inheriting from
|
newdata |
an optional data frame in which to look for variables
with which to predict. If omitted or |
type |
character string determining whether classes should be predicted (numeric for regression, factor for classification) or class probabilities (only available for classification). May be abbreviated. |
... |
further arguments passed to or from other methods. |
Either a vector with classes or a matrix with the posterior class probabilities, with rows corresponding to instances and columns to classes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.