extract_training_info: Extract training data info

View source: R/process_results.R

extract_training_infoR Documentation

Extract training data info

Description

Extract training data info

Usage

extract_training_info(
  which,
  list_results_LMM = list(),
  list_results_RF = list(),
  data = NULL
)

extract_training_info_internal(which, what, who, type, data)

Arguments

which

either "initial" or "final" depending on which training dataset to summarise

list_results_LMM

a list of objects produced by run_LMM_workflow()

list_results_RF

a list of objects produced by run_RF_workflow()

data

a dataset with info on continents if breakdown by continent is required (optional)

what

an object produced by run_LMM_workflow() or run_RF_workflow()

who

the type of staff ("rangers", "others" or "all")

type

the type of workflow ("LMM" or "RF")

Functions

  • extract_training_info_internal(): an internal function fetching the info on training datasets

Examples

## Not run: 
LMM_small_test <- run_LMM_workflow(data = data_rangers, Ncpu = 2, coef = 0,
                                     rep_feature_select = 2, rep_finetune = 2, rep_simu = 2)

RF_small_test <- run_RF_workflow(data = data_rangers, Ncpu = 2, coef = 0,
                                 rep_feature_select = 2, rep_finetune = 2, rep_simu = 2,
                                 grid_type = "coarse",
                                 n_trees = 100)

extract_training_info(list_results_LMM = list(LMM_small_test),
                list_results_RF  = list(RF_small_test))

## End(Not run)


courtiol/rangeRinPA documentation built on Sept. 29, 2022, 9:54 a.m.