powered by
This function predicts values based upon a model trained by CDA.
CDA
# S3 method for cda predict(object, test, fuzzy = FALSE, ...)
The classification model (of class cda-class, created by CDA).
cda-class
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
CDA, plot.cda, cda-class
plot.cda
# NOT RUN { require (datasets) data (iris) d = splitdata (iris, 5) model = CDA (d$train.x, d$train.y) predict (model, d$test.x) # }
Run the code above in your browser using DataLab