class sklearn.base.TransformerMixin [source]
Mixin class for all transformers in scikit-learn.
fit_transform(X[, y]) | Fit to data, then transform it. |
__init__($self, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature.
fit_transform(X, y=None, **fit_params) [source]
Fit to data, then transform it.
Fits transformer to X and y with optional parameters fit_params and returns a transformed version of X.
| Parameters: |
|
|---|---|
| Returns: |
|
sklearn.base.TransformerMixin
© 2007–2018 The scikit-learn developers
Licensed under the 3-clause BSD License.
http://scikit-learn.org/stable/modules/generated/sklearn.base.TransformerMixin.html