train | R Documentation |
The training variables (train) are the variables used to train a classifier, excepted the prediction (class or dependent variable).
train(object, ...)
## Default S3 method:
train(object, ...)
object |
an object having a train attribute. |
... |
further parameter (depends on the method). |
A data frame containing the training variables of the model.
mlearning()
, response()
, confusion()
data("HouseVotes84", package = "mlbench")
house_rf <- ml_rforest(data = HouseVotes84, Class ~ .)
house_rf
train(house_rf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.