API Reference / sklearn / preprocessing /

imputation.py

scikit-learn imputation wrappers.

Generated from the PREPROCESSING_IMPUTATION table in specs. Registered under sklearn. hub keys, mirroring the native TuiML preprocessing/imputation family.

Classes

IterativeImputer

class sklearn.preprocessing.imputation.IterativeImputer(_SklearnTransformerMixin, Transformer)

scikit-learn IterativeImputer (hub key sklearn.IterativeImputer).

Wraps IterativeImputer. Accepts that estimator's constructor parameters as keyword arguments; call get_parameter_schema for the full list with types and defaults derived from the installed scikit-learn.

Commonly set: max_iter, random_state.

Constructor
__init__(
    self,
    **params,
)

Methods

__init__ (self, **params)
get_parameter_schema (cls) -> Dict[str, Any]

Return JSON Schema for constructor parameters.

get_capabilities (cls) -> List[str]

Return the capability names this wrapper supports.

KNNImputer

class sklearn.preprocessing.imputation.KNNImputer(_SklearnTransformerMixin, Transformer)

scikit-learn KNNImputer (hub key sklearn.KNNImputer).

Wraps KNNImputer. Accepts that estimator's constructor parameters as keyword arguments; call get_parameter_schema for the full list with types and defaults derived from the installed scikit-learn.

Commonly set: n_neighbors, weights.

Constructor
__init__(
    self,
    **params,
)

Methods

__init__ (self, **params)
get_parameter_schema (cls) -> Dict[str, Any]

Return JSON Schema for constructor parameters.

get_capabilities (cls) -> List[str]

Return the capability names this wrapper supports.

MissingIndicator

class sklearn.preprocessing.imputation.MissingIndicator(_SklearnTransformerMixin, Transformer)

scikit-learn MissingIndicator (hub key sklearn.MissingIndicator).

Wraps MissingIndicator. Accepts that estimator's constructor parameters as keyword arguments; call get_parameter_schema for the full list with types and defaults derived from the installed scikit-learn.
Constructor
__init__(
    self,
    **params,
)

Methods

__init__ (self, **params)
get_parameter_schema (cls) -> Dict[str, Any]

Return JSON Schema for constructor parameters.

get_capabilities (cls) -> List[str]

Return the capability names this wrapper supports.

SimpleImputer

class sklearn.preprocessing.imputation.SimpleImputer(_SklearnTransformerMixin, Transformer)

scikit-learn SimpleImputer (hub key sklearn.SimpleImputer).

Wraps SimpleImputer. Accepts that estimator's constructor parameters as keyword arguments; call get_parameter_schema for the full list with types and defaults derived from the installed scikit-learn.

Commonly set: strategy, fill_value.

Constructor
__init__(
    self,
    **params,
)

Methods

__init__ (self, **params)
get_parameter_schema (cls) -> Dict[str, Any]

Return JSON Schema for constructor parameters.

get_capabilities (cls) -> List[str]

Return the capability names this wrapper supports.