Skip to content

KBinsDiscretizer.transform mutates the _encoder attribute #12490

@ogrisel

Description

@ogrisel

https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/preprocessing/_discretization.py#L234-L270

I think we should call self._encoder.transform instead of self._encoder.fit_transform.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions