Skip to content
Quantoros

Can the numeric nanmode policy alone define missing categorical values in CatBoost?

Classic MLLevel: IntermediateCatBoost · Missing values

Can the numeric nan_mode policy alone define missing categorical values in CatBoost?

Hints
  • Feature type changes missing-value semantics.
  • A category label and a numeric split value are not the same representation.

Answer

No. The documented missing processing is feature-type dependent. Define a consistent categorical representation for absence in the data contract instead of applying numeric NaN assumptions to string categories.

Source and licence: CatBoost · Missing values · Apache-2.0 · answer: Quantoros editorial

Related questions