transformers.OneHotWithUnknown

class transformers.OneHotWithUnknown(feature_names=None)[source]
__init__(feature_names=None)

Methods

__init__([feature_names])
fit(ds[, y])
fit_transform(X[, y]) Fit to data, then transform it.
get_feature_names()
get_params([deep]) Get parameters for this estimator.
set_params(**params) Set the parameters of this estimator.
transform(ds)

Attributes

DEFAULT_PIPELINE_NAME