predict_Weka_clusterer | R Documentation |
Predict class ids or memberships based on fitted Weka clusterers.
## S3 method for class 'Weka_clusterer' predict(object, newdata = NULL, type = c("class_ids", "memberships"), ...)
object |
an object of class inheriting from
|
newdata |
an optional data set for predictions are sought. This
must be given for predicting class memberships. If omitted or
|
type |
a character string indicating whether class ids or memberships should be returned. May be abbreviated. |
... |
further arguments passed to or from other methods. |
It is only possible to predict class memberships if the Weka clusterer
provides a distributionForInstance
method.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.