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.
1 2 3 | guess_hyperparameters(train_structure, n_estimators = 10,
learning_rate = 0.05, depth = 2, nrounds = 100,
objective_function = NA, eval_metric = NA)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.