predict_Weka_classifier

0th

Percentile

Model Predictions for R/Weka Classifiers

Predicted values based on fitted Weka classifier models.

Keywords
models
Usage
# S3 method for Weka_classifier
predict(object, newdata = NULL,
        type = c("class", "probability"), ...)
Arguments
object

an object of class inheriting from Weka_classifier.

newdata

an optional data frame in which to look for variables with which to predict. If omitted or NULL, the training instances are used.

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.

Value

Either a vector with classes or a matrix with the posterior class probabilities, with rows corresponding to instances and columns to classes.

Aliases
  • predict.Weka_classifier
  • fitted.Weka_classifier
Documentation reproduced from package RWeka, version 0.4-40, License: GPL-2

Community examples

Looks like there are no examples yet.