run.k.fold.cv: core cv function what uses 'xgboost.dart.cvtune' to run cv...

Description Usage Arguments

View source: R/cv_rfe.R

Description

internal function.

Usage

1
2
run.k.fold.cv(sat, k_fold, run_param_cv, dataXY_df, y_var, index_train,
  index_test, xgb_threads, ...)

Arguments

sat

Name of the satellite, just for labelling purpose, for example "terra"

k_fold

default to 5 k_fold cross-validation

run_param_cv

run parameter search or not, default to TRUE, but set to FALSE during the RFE process, could be changed to TRUE in the code to allow parameter tuning during RFE process. May not be necessary.

dataXY_df

dataset with only X and Y

y_var

the y variables, for example y_var = "AOD_diff"

index_train

index for training

index_test

index for testing

xgb_threads

xgb_threads passed from parent function

...

other arguments


liuyanguu/plotthis documentation built on Nov. 4, 2019, 4:35 p.m.