Skip to main content

A lightweight AutoML library optimized for simple APIs and ONNX export.

Project description

🚀 ez-automl-lite

A lightweight, serverless-optimized AutoML library for Python. Build, evaluate, and export high-performance machine learning models with just 3 lines of code.

Python Version License: MIT

✨ Features

  • 3-Line API: Designed for simplicity and speed across 5 different ML tasks.
  • Serverless-First: Optimized for AWS Lambda/Azure Functions and low-memory environments.
  • Premium Reports: Professional HTML/CSS reports for all tasks (No external JS or Internet required).
  • Comprehensive Analytics: Supports Regression, Classification, Clustering, Anomaly Detection, and Time Series Forecasting.
  • ONNX Export: One-click export for cross-platform deployment.

📦 Installation

# Full installation (recommended)
pip install "ez-automl-lite[all]"

# Or install with specific optional dependencies:
pip install "ez-automl-lite[onnx]"       # ONNX export support
pip install "ez-automl-lite[reports]"    # Enhanced EDA reports
pip install "ez-automl-lite[cluster]"    # DBSCAN automatic eps selection
pip install "ez-automl-lite[timeseries]" # Time series forecasting (ARIMA/Prophet)

🚀 The 5 Core Modules

1. Regression

Automated training with residual analysis and error diagnostics.

from ez_automl_lite import AutoML
aml = AutoML(target="target").fit(df)
aml.report("regression_report.html")

2. Classification

Visual Confusion Matrices and detailed class-wise performance metrics.

from ez_automl_lite import AutoML
aml = AutoML(target="label").fit(df)
aml.report("classification_report.html")

3. Clustering (Unsupervised)

Automated optimal K-search using Silhouette and Calinski-Harabasz scores. NEW: Automatic DBSCAN eps parameter selection via k-distance elbow detection.

from ez_automl_lite import AutoCluster
ac = AutoCluster(max_clusters=8).fit(df)
ac.report("clustering_report.html")

4. Anomaly Detection

Profile-based detection using Isolation Forest with detailed sample analysis.

from ez_automl_lite import AutoAnomaly
aa = AutoAnomaly(contamination=0.05).fit(df)
aa.report("anomaly_report.html")

5. Time Series Forecasting

Automated forecasting with ARIMA/SARIMA and Prophet (1.2.1+), including decomposition, stationarity analysis, and 95% confidence intervals.

from ez_automl_lite import AutoTimeSeries
ats = AutoTimeSeries(
    time_column="date",
    target_column="sales",
    forecast_horizon=30,
    scaling="absmax"  # Optional: 'absmax' or 'minmax'
).fit(df)
forecast = ats.predict(30)
ats.report("timeseries_report.html")

📂 Examples & Scripts

Check the examples/ directory for full implementation scripts:

  • examples/regression_example.py
  • examples/classification_example.py
  • examples/clustering_example.py
  • examples/anomaly_example.py
  • examples/timeseries_example.py
  • examples/timeseries_advanced_example.py (demonstrates scaling and holidays_mode options)

🛠️ Performance & Export

  • ONNX Export: Cross-platform models in one line: aml.export_onnx("model.onnx").
  • EDA: Generate pre-training analysis: aml.eda(df, "eda.html").
  • UUIDs: Every training session generates a unique ID for easy tracking.

🗺️ Roadmap

  • Core Package Refactor
  • Premium CSS-only Reports
  • AutoCluster & AutoAnomaly implementation
  • Cross-platform ONNX support
  • PyPI Automated Release Workflow

🤝 Contributing & License

Created by Cristopher Coronado. Distributed under the MIT License.

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

ez_automl_lite-0.1.0b4.tar.gz (62.7 kB view details)

Uploaded Source

Built Distribution

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

ez_automl_lite-0.1.0b4-py3-none-any.whl (55.7 kB view details)

Uploaded Python 3

File details

Details for the file ez_automl_lite-0.1.0b4.tar.gz.

File metadata

  • Download URL: ez_automl_lite-0.1.0b4.tar.gz
  • Upload date:
  • Size: 62.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ez_automl_lite-0.1.0b4.tar.gz
Algorithm Hash digest
SHA256 7fadf4838d0ca5218b04ef8ec6e48b6ebee9bf893d41d6b0e08e98624eb9d272
MD5 68e5cc6f0f8e74531b4538c4b79f52fb
BLAKE2b-256 c8624a45a78767d763c02c7d08b8d0843df7de1f50312fe41e7af76180fb2ffb

See more details on using hashes here.

Provenance

The following attestation bundles were made for ez_automl_lite-0.1.0b4.tar.gz:

Publisher: python-publish.yml on cristofima/auto-ml-lite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ez_automl_lite-0.1.0b4-py3-none-any.whl.

File metadata

File hashes

Hashes for ez_automl_lite-0.1.0b4-py3-none-any.whl
Algorithm Hash digest
SHA256 36980493bbb6a176136ca43d0dbd3001f001055731f7bfee1abb4f376326d1be
MD5 cf587d7dbc3827c7b80705ab0a9e7ca0
BLAKE2b-256 e66ce6ea3f8c3b57063798a6e323fd86e6464d79100cd996466d2e7f126ea9a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for ez_automl_lite-0.1.0b4-py3-none-any.whl:

Publisher: python-publish.yml on cristofima/auto-ml-lite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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