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.0b3.tar.gz (59.5 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.0b3-py3-none-any.whl (52.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ez_automl_lite-0.1.0b3.tar.gz
  • Upload date:
  • Size: 59.5 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.0b3.tar.gz
Algorithm Hash digest
SHA256 62d5d8570fa42bb4ee65b48aba7efd6f8529683ba45d1631976eca863bc595e2
MD5 ddd015a11fb387f382a6fb6d95ffa9a4
BLAKE2b-256 8faebb908331cd6b13e8e0eea0045054338f640f00b2d2be11dacd37c3c892c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for ez_automl_lite-0.1.0b3.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.0b3-py3-none-any.whl.

File metadata

File hashes

Hashes for ez_automl_lite-0.1.0b3-py3-none-any.whl
Algorithm Hash digest
SHA256 277f227c50ba4a02a73203560631cbe086ddc571ac69435941c521ae197aaf12
MD5 d0dc1d9c5010ed067d584b3a9a4ab12d
BLAKE2b-256 a91f93cb235397cf210ec08dbfc924a0a0349315b26544b72a0024326b4d6fc3

See more details on using hashes here.

Provenance

The following attestation bundles were made for ez_automl_lite-0.1.0b3-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