View source: R/sampleClustering.R
readTrainSet | R Documentation |
Read a training set built from prototypes, to train a classifier for supervised classification.
readTrainSet( traindir, keep_ = FALSE, operations = NULL, RclusTool.env = initParameters() )
traindir |
character vector specifying the path of the training set. |
keep_ |
boolean: if FALSE (default), the '_' directory is not considered in the training set. |
operations |
list of data.frames describing all preprocessing operations. |
RclusTool.env |
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
prototypes data.frame containing the features of each prototype associated to a class.
dropTrainSetVars
rep <- system.file("extdata", package="RclusTool") traindir <- file.path(rep, "train_example") train <- readTrainSet(traindir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.