TrainSafe {FKBL} | R Documentation |
Takes a train set, and makes some transformations to make it automatically more compatible for being processed by the package. Basically it ensures every variable is a double, and that the every class is an integer, which begin at 0.
TrainSafe(train)
Takes the train set.
train |
The train set to be processed. |
Returns a safer train set
data(cancer) cancer=TrainSafe(cancer)