LightRFHyperparameters
VariantLightGBM random forest. See `setup_LightRF`.
Properties
boosting_typestringBoosting type. 'rf' is what makes LightGBM a random forest.
learning_ratenumberLearning rate. No effect in 'rf' mode; set for clarity.
subsample_freqnumberBagging frequency.
early_stopping_roundsnumberEarly stopping rounds. -1 disables early stopping.
nroundstunableinteger≥ 1Number of boosting rounds (trees).
num_leavestunableinteger≥ 1Maximum number of leaves per tree.
max_depthtunableintegerMaximum tree depth. -1 = no limit.
feature_fractionnumber | number[] | null≤ 1> 0≥ 1 itemsFraction of features sampled per tree. NULL = sqrt(n_features)/n_features for classification, 0.33 for regression.
subsampletunablenumber≤ 1> 0Fraction of cases sampled per tree (bagging fraction).
lambda_l1tunablenumber≥ 0L1 regularization.
lambda_l2tunablenumber≥ 0L2 regularization.
max_cat_thresholdtunableinteger≥ 1Maximum number of split points for categorical features.
min_data_per_grouptunableinteger≥ 1Minimum number of cases per categorical group.
linear_treetunablebooleanFit linear models at leaves.
ifwtunablebooleanInverse frequency weighting of outcome classes.
objectivestring | nullLightGBM objective. NULL = set from outcome type.
device_typestringCompute device.
one of
"cpu""gpu""cuda"tree_learnerstringTree learner type.
one of
"serial""feature""data""voting"force_col_wisebooleanForce column-wise histogram building (CPU only).
Relationships
Used by