nirs4all.pipeline.dagml.na_policy module

Host numerical operator for a step-local missing-value replacement node.

class nirs4all.pipeline.dagml.na_policy.ReplaceMissingValues(fill_value: float = 0)[source]

Bases: TransformerMixin, BaseEstimator

Replace NaNs without learning from validation or inference rows.

fit(X: Any, y: Any = None) → ReplaceMissingValues[source]
transform(X: Any) → ndarray[source]