train | R Documentation |
Train any rtemis model
train(
x,
y = NULL,
mod = "ppr",
x.test = NULL,
y.test = NULL,
x.name = NULL,
y.name = NULL,
args = list(),
question = NULL,
verbose = TRUE,
print.plot = TRUE,
...
)
x |
Numeric vector or matrix / data frame of features i.e. independent variables |
y |
Numeric vector of outcome, i.e. dependent variable |
mod |
Character: Learner to use. To get list of options, run |
x.test |
Numeric vector or matrix / data frame of testing set features
Columns must correspond to columns in |
y.test |
Numeric vector of testing set outcome |
x.name |
Character: Name for feature set |
y.name |
Character: Name for outcome |
args |
Optional list of parameters to be passed to learner |
question |
Character: the question you are attempting to answer with this model, in plain language. |
verbose |
Logical: If TRUE, print summary to screen. |
print.plot |
Logical: if TRUE, produce plot using |
... |
Additional arguments to be passed to learner |
args
and ...
allow you to either pass named arguments, or a list of arguments (or both)
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.