readTrainSet {RclusTool} | R Documentation |
Training set reading
Description
Read a training set built from prototypes, to train a classifier for supervised classification.
Usage
readTrainSet(
traindir,
keep_ = FALSE,
operations = NULL,
RclusTool.env = initParameters()
)
Arguments
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. |
Details
readTrainSet reads a training set built from prototypes, to train a classifier for supervised classification
Value
prototypes data.frame containing the features of each prototype associated to a class.
See Also
Examples
rep <- system.file("extdata", package="RclusTool")
traindir <- file.path(rep, "train_example")
train <- readTrainSet(traindir)
[Package RclusTool version 0.91.6 Index]