View source: R/01_S7_Hyperparameters.R
setup_LightCART | R Documentation |
Setup hyperparameters for LightCART training.
setup_LightCART(
num_leaves = 32L,
max_depth = -1L,
lambda_l1 = 0,
lambda_l2 = 0,
min_data_in_leaf = 20L,
max_cat_threshold = 32L,
min_data_per_group = 100L,
linear_tree = FALSE,
objective = NULL,
ifw = FALSE
)
num_leaves |
(Tunable) Positive integer: Maximum number of leaves in one tree. |
max_depth |
(Tunable) Integer: Maximum depth of trees. |
lambda_l1 |
(Tunable) Numeric: L1 regularization. |
lambda_l2 |
(Tunable) Numeric: L2 regularization. |
min_data_in_leaf |
(Tunable) Positive integer: Minimum number of data in a leaf. |
max_cat_threshold |
(Tunable) Positive integer: Maximum number of categories for categorical features. |
min_data_per_group |
(Tunable) Positive integer: Minimum number of observations per categorical group. |
linear_tree |
(Tunable) Logical: If TRUE, use linear trees. |
objective |
Character: Objective function. |
ifw |
Logical: If TRUE, use Inverse Frequency Weighting in classification. |
Get more information from lightgbm::lgb.train.
LightCARTHyperparameters object.
EDG
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.