Description Usage Arguments Value
Fits the chosen model to the data.
1 | train_model(trainset, testset, params)
|
trainset |
is a data.frame or data.table containing the train data. |
testset |
is a data.frame or data.table containing the test data. |
params |
is a list containing the arguments necessary for training. |
This function returns the chosen model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.