guess_hyperparameters: This function guesses sensible parameters for setting up the...

Description Usage Arguments

View source: R/build_model.R

Description

Objective functions and eval metrics are always taken to be the user supplied values, if the suer has supplied them, else they are guessed based on the type of the target variable.

Usage

1
2
3
guess_hyperparameters(train_structure, n_estimators = 10,
  learning_rate = 0.05, depth = 2, nrounds = 100,
  objective_function = NA, eval_metric = NA)

Arguments

train_structure

is the data structure produced by prepare_training_set

n_estimators

minimum number of estimators

learning_rate

maximum learning rate

depth

minimum depth of trees

nrounds

the number of rounds of training

objective_function

the objective function to be used

eval_metric

the evaluation metric


pbhogale/simplexgb documentation built on Nov. 27, 2021, 3:06 p.m.