predict.selection | R Documentation |
This function predicts values based upon a model trained by any classification or regression model.
## S3 method for class 'selection'
predict(object, test, fuzzy = FALSE, ...)
object |
The classification model (of class |
test |
The test set (a |
fuzzy |
A boolean indicating whether fuzzy classification is used or not. |
... |
Other parameters. |
A vector of predicted values (factor
).
FEATURESELECTION
, selection-class
## Not run:
require (datasets)
data (iris)
d = splitdata (iris, 5)
model = FEATURESELECTION (d$train.x, d$train.y, uninb = 2, mainmethod = LDA)
predict (model, d$test.x)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.