View source: R/mr_ash_learner.R
makeMrAshLearner | R Documentation |
Creates a mr.ash learner object to be used in veb_boost
makeMrAshLearner(
X,
X_test = NULL,
growMode = c("NA", "+*", "+", "*"),
changeToConstant = FALSE
)
X |
is a matrix to be used as the predictors in training. No scaling is performed by the function, so the user must do their own scaling (scaling so that each column has a standard deviation of 1 is recommended) |
X_test |
is a matrix to be used as the predictors in testing. No scaling is performed by the function, so the user must do their own scaling (scaling so that each column has a standard deviation of 1 is recommended) |
growMode |
is a string for if the learner should be grown (or not)
If |
changeToConstant |
is a logical for if constant fits should be changed to be constant |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.