powered by
This function predicts values based upon a model trained by any classification or regression model.
# S3 method for selection predict(object, test, fuzzy = FALSE, ...)
The classification model (of class cda-class, created by CDA).
cda-class
CDA
The test set (a data.frame).
data.frame
A boolean indicating whether fuzzy classification is used or not.
Other parameters.
A vector of predicted values (factor).
factor
FEATURESELECTION, selection-class
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) # }
Run the code above in your browser using DataLab