Skip to main content

mleko: Streamlining Machine Learning Pipelines in Python

Simplify and accelerate your machine learning development with mleko. Designed with modularity and customization in mind, it seamlessly integrates into your existing workflows. Its robust caching system optimizes performance, taking you from data ingestion to finalized models with unparalleled efficiency.

Developed at Klarna License Static Badge

Latest Status PyPI - Downloads Python Version

Tests pre-commit Black

Features

mleko is engineered to address the end-to-end needs of machine learning pipelines, providing robust, scalable solutions for data science challenges:

  • Ingest: Seamlessly integrates with data sources like AWS S3 and Kaggle, offering hassle-free data ingestion and compatibility.
  • Export: Supports exporting data to various formats and platforms, locally or in the cloud, to ensure that your data is accessible and shareable.
  • Convert: Specializes in data format transformations, prominently featuring high-performance conversions from CSV to Vaex DataFrame, to make your data pipeline-ready.
  • Split: Employs sophisticated data partitioning algorithms, allowing you to segment DataFrames into train, test, and validation sets for effective model training and evaluation. -Filter: Provides a suite of filtering techniques such as resampling or simple expression-based filtering, enabling you to focus on the most relevant data.
  • Feature Selection: Equipped with a suite of feature selection techniques, mleko enables model performance by focusing on the most impactful variables.
  • Transformation: Facilitates data manipulations such as Frequency Encoding and Standardization, ensuring that your data conforms to the prerequisites of the machine learning algorithms.
  • Model: Provides a core set of functionalities for machine learning models, including in-built support for hyperparameter tuning, thereby streamlining the path from data to deployable model.
  • Pipeline: Unifies the entire workflow into an intuitive directed acyclic graph (DAG) architecture, promoting reproducibility and reducing iteration time and time-to-market for machine learning models.

By integrating these features, mleko serves as a comprehensive toolkit for machine learning practitioners looking to build robust models efficiently.

Installation

You can install mleko via pip from PyPI:

$ pip install mleko

Usage & Examples

See the documentation for more information or check out the usage examples on well-known datasets like the Titanic Dataset.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Contributing

We are open to, and grateful for, any contributions made by the community. To learn more, see the Contributor Guide.

Release History

See our changelog.

Acknowledgements

The development of mleko was influenced by existing work of the following individuals:

Their insights and contributions provided a solid foundation for this library. We appreciate their effort and recognize their contributions that led to the creation of mleko.

License

Copyright © 2024 Klarna Bank AB

For license details, see the LICENSE file in the root of this project.

Metadata

Release files for mleko 4.3.0

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

Source distribution (sdist)

Source distribution for mleko 4.3.0
File Size Uploaded
mleko-4.3.0.tar.gz 83.8 kB Details

Built distribution (wheel)

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

Total release size: 218.1 kB

Release files / mleko-4.3.0.tar.gz

Download URL mleko-4.3.0.tar.gz
Size 83.8 kB
Tags Source
SHA-256 checksum
How to use checksums
15fd1c1384c2bf55b337a1fea7b56562a570b005140bfbb807164bdcafeb6a7d
BLAKE2b-256 checksum
How to use checksums
38a9356215c7d722cebd0d318839af405c03678c8fc9f4eda11ed0f655d6f16d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.4

Release files / mleko-4.3.0-py3-none-any.whl

Download URL mleko-4.3.0-py3-none-any.whl
Size 134.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26e7950801de19d4b91b5a2602cd0b946e1254ac8964dbd04277514b7a756c3d
BLAKE2b-256 checksum
How to use checksums
3427051738743f53eb8db34c261af88698b4c9b04e429bcb4ac4d86a98bf6671
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

4.3.0 This release

2 release files

4.2.0

2 release files

4.1.0

2 release files

4.0.0

2 release files

3.2.0

2 release files

3.1.0

2 release files

3.0.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

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