Skip to main content

MultiColumnLabelClassification

Description:

For categorical Data, Encoding data is an important step, as various Machine Learning models will not work for textual data. So in existing encoding methods, which are already available, After transforming the data and encoding it, I found Inverse Transforming it is too hard, when Multiple categorical columns are encoded. And while we are developing machine learning models, we need to do label encoding for training and testing data, and they should be in sync to transform them back to original form. So Unable to find an easy existing approach to perform it, I have built this small module, to help myself when I am encoding data in Machine Learning Using python.

Usage:

  1. For Encoding the data:

    Import the label encoder:

     import MultiColumnLabelEncoder
    

    Using the label encoder:

     le = MultiColumnLabelEncoder()
     encoded_dataframe = le.fit_transform(dataframe)
    
     [Note: columns argument can also be passed if we want encoding only for certain columns. By default it will be none and it will encode all the categorical columns]
    

    Using the inverse label encoder:

     inverse_encoded_dataframe = le.inverse_fit_transform(encoded_dataframe)
    
     [Note: columns argument can also be passed if we want inverse encoding only for certain columns. By default it will be none and it will encode all the categorical columns]
    

Metadata

Release files for MultiColumnLabelEncoder 1.1.3

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

Source distribution (sdist)

Source distribution for MultiColumnLabelEncoder 1.1.3
File Size Uploaded Provenance Actions
MultiColumnLabelEncoder-1.1.3.tar.gz 14.7 kB Without provenance Details for MultiColumnLabelEncoder-1.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 29.6 kB

Release files / MultiColumnLabelEncoder-1.1.3.tar.gz

Download URL MultiColumnLabelEncoder-1.1.3.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5034d46c2a89864ad43d6959709560d59b725494e139e4c96074a31679b7ad43
BLAKE2b-256 checksum
How to use checksums
7ecf28ac8627f5fc62105fbc24f7d52d4128533bc4502c5e82574b405f026ecf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / MultiColumnLabelEncoder-1.1.3-py3-none-any.whl

Download URL MultiColumnLabelEncoder-1.1.3-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2909cc3e0c1b7e792d65a0baf48fcdee3f6b85574c53851d4e7d48a51fe3d759
BLAKE2b-256 checksum
How to use checksums
36f03459df3b094eb57caec71c26d8a6ee9d2b29c1677e8e096fb95f4f905402
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for MultiColumnLabelEncoder 1.1.3

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

1.1.3 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