Skip to main content

SmartML

SmartML is a production-grade, enterprise-level Machine Learning Automation Library for Python. It combines data preprocessing, feature engineering, feature selection, AutoML model training, explainable AI, visualization, and a conversational Assistant interface into a single unified framework.

Installation

pip install smartml-assistant

To install with optional boosting algorithms (XGBoost, LightGBM, CatBoost) and visualization libraries (Plotly, Seaborn):

pip install "smartml-assistant[all]"

Quick Start

The One-Line Auto-Pilot

Provide your DataFrame and the target column, and SmartML will do the rest: profiling, cleaning, feature engineering, model comparison, training, and evaluation.

import smartml as sml

# Load data (auto-detects CSV, Parquet, JSON, Excel, etc.)
df = sml.load("data/house_prices.csv")

# Run the complete AutoML pipeline
result = sml.auto(df, target="SalePrice", output_dir="my_project")

# Explain the best model
print(result.explain())

# Make predictions on new data
preds = result.predict(new_df)

# Save the model
result.save("my_model")

# Generate an HTML report
result.report(fmt="html")

Unsupervised Clustering

df = sml.load("data/customer_segments.csv")
result = sml.clustering_pipeline(df, algorithm="auto")
print(f"Found {result.clustering_result.n_clusters} clusters!")

Conversational Assistant

Interact with your data using natural language:

import smartml as sml

assistant = sml.Assistant(df, target="SalePrice")

assistant.ask("Clean my dataset")
assistant.ask("Engineer some new features")
assistant.ask("Train the best regression model")
assistant.ask("Why did you choose this algorithm?")
assistant.ask("Show feature importance")
assistant.ask("Generate a report")

Features

  • Automated Data Cleaning: Imputation, deduplication, low-cardinality one-hot encoding, and scaling.
  • Advanced Feature Engineering: Polynomial interactions, date decomposition, frequency encoding, and pairwise ratios.
  • Smart Feature Selection: Variance thresholding, correlation filtering, univariate selection, and model-based feature importance thresholding.
  • Multi-Model Leaderboard: Automatically cross-validates Logistic/Linear Regression, Random Forest, Gradient Boosting, SVM, XGBoost, LightGBM, CatBoost, and more.
  • Unsupervised Learning: Full clustering (KMeans, DBSCAN, GMM, Agglomerative) and Anomaly Detection (IsolationForest, LOF, OneClassSVM).
  • Explainable AI: Natural-language justifications for algorithm selection and feature importance.
  • Safe & Headless: Safe for interactive environments. No global state side-effects.

License

MIT License. See LICENSE for more information.

Metadata

Release files for smartml-assistant 2.0.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 smartml-assistant 2.0.0
File Size Uploaded Provenance Actions
smartml_assistant-2.0.0.tar.gz 71.0 kB Without provenance Details for smartml_assistant-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for smartml-assistant 2.0.0
File Interpreter ABI Platform Actions
smartml_assistant-2.0.0-py3-none-any.whl Python 3 none any Details for smartml_assistant-2.0.0-py3-none-any.whl

Total release size: 145.8 kB

Release files / smartml_assistant-2.0.0.tar.gz

Download URL smartml_assistant-2.0.0.tar.gz
Size 71.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a61693d8fceaa4a273fa06f23089265b3b37623bf0aa83800b979f0d8c936828
BLAKE2b-256 checksum
How to use checksums
b1b3d5a0f9fd36525c9bb4a5eb4ebfbd271ecebc567cb39db99f10c05db0d663
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.8

Release files / smartml_assistant-2.0.0-py3-none-any.whl

Download URL smartml_assistant-2.0.0-py3-none-any.whl
Size 74.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
390330179e0ae0eefec6425baac59238692bf5a5121212772b03bb014f7385db
BLAKE2b-256 checksum
How to use checksums
89cf23c815dc8aed561b33ec277247e1774ec19be7ce7dc678d22e038c52ca67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.8

Security for smartml-assistant 2.0.0

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.

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