Skip to content
Quantoros

Why might baggingfraction=0.6 alone fail to subsample a LightGBM training set?

Classic MLLevel: IntermediateLightGBM · Parameters

Why might bagging_fraction=0.6 alone fail to subsample a LightGBM training set?

Hints
  • A rate and an enable/frequency control are separate.
  • Inspect the default bagging frequency.

Answer

Bagging also needs a positive bagging_freq in the applicable sampling mode. Verify both controls and the effective configuration; setting a fraction does not necessarily enable the mechanism.

Source and licence: LightGBM · Parameters · MIT · answer: Quantoros editorial

Related questions