FunctionTransformer¶
-
class
ibex.sklearn.preprocessing.FunctionTransformer(func=None, in_cols=None, out_cols=None, pass_y=None, kw_args=None)[source]¶ Bases:
sklearn.base.BaseEstimator,sklearn.base.TransformerMixin,ibex._base.FrameMixinTransforms using a function.
Parameters: - func –
One of:
None- a callable
- a step
- in_cols –
One of:
None- a string
- a list of strings
- out_cols –
- pass_y – Boolean indicating whether to pass the
yargument to - kw_args – Keyword arguments.
Returns: An
sklearn.preprocessing.FunctionTransformerobject.- func –