Description Usage Arguments Value Author(s)
View source: R/machine_learner.R
This functions applies one or several machine learning methods on a given dataset and checks for the validity of the prediction
1 2 3 4 5 6 7 8 9 | loocv_machine_learner(
dataframe,
aim_variable,
co_variables,
location = FALSE,
method = c("DT", "BDT", "RF"),
additionalparameters = FALSE,
auto = FALSE
)
|
dataframe |
dataframe containing variables of interest |
aim_variable |
Character string with the name of the aim variable |
co_variables |
Character string with the name of the co-variables |
location |
defalut = FALSE; Character string with the name of the location. If FALSE each observation is treated as unique location |
method |
default = c("DT","BDT","RF"); which method should be used: DecisionTree, BoostedDecisionTree and/or RandomForest? |
additionalparameters |
default = FALSE; list containing additional parameters for the ML procedures / e.g.: list(RF=list(ntree=10000)) |
auto |
default = FALSE; boolean operator defining if "machine_learner" or "auto_machine_learner" should be used |
list containing the models
Wolfgang Hamer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.