View source: R/fn_spongeffects_utility.R
fn_RF_classifier | R Documentation |
RF classification model
fn_RF_classifier( Input.object, K, rep, metric = "Exact_match", tunegrid, set_seed = 42 )
Input.object |
data.frame made by predictors and dependent variable |
K |
number of folds (k-fold) |
rep |
number of times repeating the cross validation |
metric |
metric (Exact_match, Accuracy) (default: Exact_match) |
tunegrid |
defines the grid for the hyperparameter optimization during cross validation (caret package) |
set_seed |
set seed (default: 42) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.