Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ENH Add clip parameter to MaxAbsScaler #31672

Open
@glevv

Description

@glevv

Describe the workflow you want to enable

Add a clip parameter to MaxAbsScaler that will allow for clipping values that exceed the maximum value seen during the training stage.

Describe your proposed solution

Similar to MinMaxScaler, but in this case it will clip [-1, +1].

Describe alternatives you've considered, if relevant

No response

Additional context

I'm not sure if it is possible to implement it without breaking sparsity of the inputs, which is the main problem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions