MLBazaar / MLPrimitives

Primitives for machine learning and data science.
https://mlbazaar.github.io/MLPrimitives
MIT License
69 stars 38 forks source link

Add RangeScaler and RangeUnscaler primitives #232

Closed csala closed 4 years ago

csala commented 4 years ago

Add a RangeScaler primitive that allows scaling data to a specified min-max range, like scikit-learn MinMaxScaler, but which also comes with an inverse primitive RangeUnscaler which allows reverting back the transformation to the original state.

Implementation should be similar to the existing ClassEncoder and ClassDecoder couple of primitives.