powered by
The training variables (train) are the variables used to train a classifier, excepted the prediction (class or dependent variable).
train(object, ...)# S3 method for default train(object, ...)
# S3 method for default train(object, ...)
A data frame containing the training variables of the model.
an object having a train attribute.
further parameter (depends on the method).
mlearning(), response(), confusion()
mlearning()
response()
confusion()
data("HouseVotes84", package = "mlbench") house_rf <- ml_rforest(data = HouseVotes84, Class ~ .) house_rf train(house_rf)
Run the code above in your browser using DataLab