fn_RF_classifier: RF classification model

View source: R/fn_spongeffects_utility.R

fn_RF_classifierR Documentation

RF classification model

Description

RF classification model

Usage

fn_RF_classifier(
  Input.object,
  K,
  rep,
  metric = "Exact_match",
  tunegrid,
  set_seed = 42
)

Arguments

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)


biomedbigdata/SPONGE documentation built on Feb. 6, 2023, 10:19 p.m.