Compute posterior class distributions for fitted Weka classifier
models (if possible) by applying the Weka method
distributionForInstance to each test instance.
Usage
cppredict(object, newdata, ...)
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.
...
further arguments passed to or from other methods.
Value
A matrix with the posterior class probabilities, with rows
corresponding to instances and columns to classes.