Description Usage Arguments Methods (by class)
Generic function for training a model.
| 1 2 3 4 5 6 7 | train_model(test, data, ...)
## S3 method for class 'classification'
train_model(test, data, ...)
## S3 method for class 'regression'
train_model(test, data, ...)
 | 
| test | The test object. This is passed so the method can be extracted. | 
| data | An object of class "regression" or "classification" with at least x, y, train and holdout | 
| ... | Extra arguments to pass to the classification or regression method | 
classification: Train a model for classification using a classifier algorithm. This function wraps the actual classifier
regression: Train (fit) a regression model. This function wraps a regression algorithm.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.