Description Usage Arguments Value
almost identical to caret::createModel
1 2 | createModel(x, y, wts, method, tuneValue, obsLevels, pp = NULL,
last = FALSE, classProbs, ...)
|
x |
Design matrix |
y |
Response vector |
wts |
Weights of samples |
method |
Model information. See |
tuneValue |
A one row data frame containing tuning parameter values |
obsLevels |
Class labels for classification |
pp |
PreProcess object |
last |
A logical for whether the current fit is the final fit |
classProbs |
Should classProbs be computed |
... |
Additional paramters other than tuning parameters passed to model fitting methods |
A list of model fitting object and a preProcess object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.