Skip to main content

Transform features by scaling each feature to a given range.

Project description

rescaler

A package that can transform features by scaling each feature to a given range. The input should be (input list, new minimum value, new maximum value). This is more light weight and easy to use than sklearn.preprocessing.MinMaxScaler. This package can simply and quickly rescale each element of the input list into a new value within the range, and generate a new list.

Parameters

rescaler.rescale

  • input_list A list.
  • newmin The minimum value of the new scale.
  • maxmin The maximum value of the new scale.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rescaler-0.0.1.tar.gz (1.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page