train_model2_inner_fold: Train model 2 - process the inner fold

View source: R/train_model2.R

train_model2_inner_foldR Documentation

Train model 2 - process the inner fold

Description

Train model 2 - process the inner fold

Usage

train_model2_inner_fold(
  outer_train,
  response_name,
  inner_cv_folds = 5,
  random_state,
  rf_grid = NULL,
  verbose = TRUE,
  ...
)

Arguments

outer_train

a data.frame of one fold of training set during nested cross-validation.

response_name

column name of the response.

inner_cv_folds

inner cross-validation fold number.

random_state

random seed.

rf_grid

A data frame with possible tuning values. See train.

verbose

A bool.

Value

a list of two models of random forest and calibration model respectively.


markgene/yamatClassifier documentation built on Oct. 14, 2024, 2:36 a.m.