Skip to content
Quantoros

Balanced bagging is enabled in binary LightGBM. Why does changing the general baggingfraction appear ineffective?

Classic MLLevel: IntermediateLightGBM · Parameters

Balanced bagging is enabled in binary LightGBM. Why does changing the general bagging_fraction appear ineffective?

Hints
  • Check parameter precedence within the chosen mode.
  • Class-specific fractions can replace the global one.

Answer

The positive/negative class-specific fractions control balanced bagging and the general fraction is ignored in that mode. Inspect which sampling mode is active and compare retained class counts before interpreting results.

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

Related questions