RF_train | R Documentation |
this function trains a random forest model with training data folds
RF_train(
data = training_dataset,
formula = y ~ x,
mtry = NULL,
nodesize = NULL,
model_type = "rfsrc"
)
data |
the training dataset |
formula |
formula describing the model fit |
mtry |
number of variables to possibly split at each node |
nodesize |
minimum size of terminal node |
model_type |
which type of rfsrc to use |
ntrain_folds |
number of training folds |
number_of_training_participants <- 10
covariance_matrix <- diag(2)
outcome_column <- 1
means <- c(0,0)
training_dataset <- simulate_data(number_of_training_participants,covariance_matrix,outcome_column,means)
random_forest <- RF_Train(data=training_dataset,formula=y~x,mtry=NULL,nodesize=NULL,model_type="rfsrc")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.