Skip to main content

Lightweight preprocessing and reversible Modular Linear Tokenization (MLT) utilities for categorical and continuous data.

Project description

🧩 light-mlt

🧩 light-mlt

PyPI version License: MIT GitHub


Lightweight preprocessing and reversible Modular Linear Tokenization (MLT) utilities for categorical and continuous data.


✨ Overview

light-mlt implements Modular Linear Tokenization (MLT) — a deterministic and reversible method for encoding high-cardinality categorical identifiers into compact numerical vectors.

Unlike hashing or one-hot encodings, MLT guarantees bijective mappings, provides explicit dimensionality control, and integrates seamlessly with machine learning pipelines.

It was developed as part of applied research on scalable tokenization and efficient preprocessing for tabular and recommendation systems.


🚀 Installation

pip install light-mlt

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

light_mlt-0.1.1.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

light_mlt-0.1.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file light_mlt-0.1.1.tar.gz.

File metadata

  • Download URL: light_mlt-0.1.1.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for light_mlt-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d1c8090efc57db75ef0632f2685cc2ee67e46533130d9f200dc478fd9e9cf63e
MD5 83590b183aba59d8a3c1ca08c5364b75
BLAKE2b-256 7f3da0ae1f28981d3ab23ea41ce57a6a94797bd2e79a449841f111ab10e91fbc

See more details on using hashes here.

File details

Details for the file light_mlt-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: light_mlt-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for light_mlt-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 252238aeddd93fdbb43dc9193398d5a1f0950af9a7ed89ee9f08c91da3f0e23a
MD5 558ef844b8d4e4fa9d49ca6ba04d469c
BLAKE2b-256 cec6692e0e986983da62455fd57b7637b389434de0afbb85039d1693a1eaef1c

See more details on using hashes here.

Supported by

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