Skip to main content

normscalers

A package for data normalization including the methods of MinMaxScaler, MaxAbsScaler, RobustScaler, StandardScaler and Normalizer in Scikit-learning, and DecimalScaler. The package can automatically detect the one-hot encoded variables and skip them to be normalized.

Install

pip install normscaler

use

(1) import one or more scalers by their names

  • MinMaxScaler
  • MaxAbsScaler
  • RobustScaler
  • StandardScaler
  • Normalizer
  • DecimalScaler

For example, import DecimalScaler by

from normascaler.scaler import DecimalScaler

(2) Use Decimal scaling method

X_train_scaled, X_train_scaled = DecimalScaler(X_train, X-test)

(3) Display the normalized X_train data in Pandas DataFrame

X_train_scaled

(4) Display the normalized X_test data in Pandas DataFrame

X_test_scaled

Documentation

Examples of a Jupyter note in GitHub: https://github.com/shoukewei/normscaler/blob/main/docs/examples.ipynb

Metadata

Release files for normscaler 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for normscaler 0.0.2
File Size Uploaded Provenance Actions
normscaler-0.0.2.tar.gz 4.0 kB Without provenance Details for normscaler-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for normscaler 0.0.2
File Interpreter ABI Platform Actions
normscaler-0.0.2-py3-none-any.whl Python 3 none any Details for normscaler-0.0.2-py3-none-any.whl

Total release size: 7.6 kB

Release files / normscaler-0.0.2.tar.gz

Download URL normscaler-0.0.2.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1b944460838c636da0f32b78af21364d9d420a5cdcd1b4fc8d16bc74cd07817a
BLAKE2b-256 checksum
How to use checksums
f5bd80b5698ee76c81f18fbbef3bab9feba89869536b4afca799eda3032bdd3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / normscaler-0.0.2-py3-none-any.whl

Download URL normscaler-0.0.2-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
53b4a92fcec9568d50a04abbad1955e4627ef6a63ca2ebcadd28d9c9b68f247e
BLAKE2b-256 checksum
How to use checksums
318b334c6164f4d96a54b30fc4b93305f66e7f5765445895a880b4ce14eef4e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Security for normscaler 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page