powered by
Read a training set built from prototypes, to train a classifier for supervised classification.
readTrainSet( traindir, keep_ = FALSE, operations = NULL, RclusTool.env = initParameters() )
prototypes data.frame containing the features of each prototype associated to a class.
character vector specifying the path of the training set.
boolean: if FALSE (default), the '_' directory is not considered in the training set.
list of data.frames describing all preprocessing operations.
environment in which all global parameters, raw data and results are stored.
readTrainSet reads a training set built from prototypes, to train a classifier for supervised classification
dropTrainSetVars
rep <- system.file("extdata", package="RclusTool") traindir <- file.path(rep, "train_example") train <- readTrainSet(traindir)
Run the code above in your browser using DataLab