Skip to content
Quantoros

Does setting maxdepth in LightGBM switch its algorithm to level-wise growth?

Classic MLLevel: IntermediateLightGBM · Features

Does setting max_depth in LightGBM switch its algorithm to level-wise growth?

Hints
  • A stopping constraint is not a new expansion order.
  • Check which eligible leaf is chosen next.

Answer

No. It remains best-first/leaf-wise but rejects splits beyond the depth bound. Trees may still be unbalanced within that bound; the growth strategy and allowed depth are separate controls.

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

Related questions