Skip to content
Quantoros

How does HistGradientBoosting treat categorical values not seen while fitting?

Classic MLLevel: AdvancedUnknown categorical values

How does HistGradientBoosting treat categorical values not seen while fitting?

Hints
  • There is no fitted split evidence for the new category.
  • Missing-value routing supplies a fallback.

Answer

This answer is part of mentoring

Advanced questions come with a full breakdown and a mock interview with a working quant researcher. The first call is free.

Source and licence: scikit-learn 1.7.2 — ensemble · BSD-3-Clause · answer: Quantoros editorial

Related questions