module mlmodel.sklearn_transform_inv#

Inheritance diagram of mlinsights.mlmodel.sklearn_transform_inv

Short summary#

module mlinsights.mlmodel.sklearn_transform_inv

Implements a base class which defines a pair of transforms applied around a predictor to modify the target as well.

source on GitHub

Classes#

class

truncated documentation

BaseReciprocalTransformer

Base for transform which transforms the features and the targets at the same time. It must also return another transform …

Properties#

property

truncated documentation

_repr_html_

HTML representation of estimator. This is redundant with the logic of _repr_mimebundle_. The latter should …

Methods#

method

truncated documentation

__init__

get_fct_inv

Returns a trained transform which reverse the target after a predictor.

transform

Transforms X and y. Returns transformed X and y.

Documentation#

Implements a base class which defines a pair of transforms applied around a predictor to modify the target as well.

source on GitHub

class mlinsights.mlmodel.sklearn_transform_inv.BaseReciprocalTransformer#

Bases: sklearn.base.BaseEstimator, sklearn.base.TransformerMixin

Base for transform which transforms the features and the targets at the same time. It must also return another transform which transforms the target back to what it was.

source on GitHub

__init__()#
get_fct_inv()#

Returns a trained transform which reverse the target after a predictor.

source on GitHub

transform(X, y)#

Transforms X and y. Returns transformed X and y.

source on GitHub