LightRFHyperparameters
VariantLightGBM random forest. See `setup_LightRF`.
Properties
nroundstunableintegerdefault500≥ 1Number of boosting rounds (trees).
num_leavestunableintegerdefault4096≥ 1Maximum number of leaves per tree.
max_depthtunableintegerdefault-1Maximum tree depth. -1 = no limit.
feature_fractiontunablenumberdefault0.7≤ 1> 0Fraction of features sampled per tree.
subsampletunablenumberdefault0.623≤ 1> 0Fraction of cases sampled per tree (bagging fraction).
lambda_l1tunablenumberdefault0≥ 0L1 regularization.
lambda_l2tunablenumberdefault0≥ 0L2 regularization.
max_cat_thresholdtunableintegerdefault32≥ 1Maximum number of split points for categorical features.
min_data_per_grouptunableintegerdefault32≥ 1Minimum number of cases per categorical group.
linear_treetunablebooleandefaultfalseFit linear models at leaves.
ifwtunablebooleandefaultfalseInverse frequency weighting of outcome classes.
objectivestring | nulldefaultnullLightGBM objective. NULL = set from outcome type.
device_typestringdefault"cpu"Compute device.
one of
"cpu""gpu""cuda"tree_learnerstringdefault"serial"Tree learner type.
one of
"serial""feature""data""voting"force_col_wisebooleandefaulttrueForce column-wise histogram building (CPU only).
Relationships
Used by