module 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.
Classes#
class |
truncated documentation |
---|---|
Base for transform which transforms the features and the targets at the same time. It must also return another transform … |
Properties#
property |
truncated documentation |
---|---|
|
HTML representation of estimator. This is redundant with the logic of _repr_mimebundle_. The latter should … |
Methods#
method |
truncated documentation |
---|---|
Returns a trained transform which reverse the target after a predictor. |
|
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.
- class mlinsights.mlmodel.sklearn_transform_inv.BaseReciprocalTransformer#
Bases:
BaseEstimator
,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.
- __init__()#
- get_fct_inv()#
Returns a trained transform which reverse the target after a predictor.
- transform(X, y)#
Transforms X and y. Returns transformed X and y.