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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| smartml_assistant-2.0.1.tar.gz | 71.0 kB | Without provenance | Details for smartml_assistant-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| smartml_assistant-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for smartml_assistant-2.0.1-py3-none-any.whl |
Total release size: 145.8 kB
Release files / smartml_assistant-2.0.1.tar.gz
| Download URL | smartml_assistant-2.0.1.tar.gz |
|---|---|
| Size | 71.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a99198c1a984ec74b4d9fbf1ec0f1938fd73293a995ee40c2c818f45f22a54d
|
|
BLAKE2b-256 checksum How to use checksums |
147a6d4cc06aa037343ff3f3d855078fa3e8a754fbc738cf7d05c71f26593169
|
| 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.1-py3-none-any.whl
| Download URL | smartml_assistant-2.0.1-py3-none-any.whl |
|---|---|
| Size | 74.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19e0038cfa7c7700d79cdd500686cc025a10a6f16017f9d19e49bc2743ba25e6
|
|
BLAKE2b-256 checksum How to use checksums |
b4d8a7f0ce0d4403a91546c2038146a1f20ee2303bec08a5c65d470a45e2baf1
|
| 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.1
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.