
MLPilot
From raw data to a monitored production model — automated, explainable, auditable.

What's new ·
Install ·
Quick start ·
Docs ·
Modules ·
Contents ·
Why Rust?
MLPilot automates the whole data-science lifecycle in one Python library. It covers
ingestion and cleaning, data quality, feature engineering, AutoML, explainability and fairness,
the model registry, deployment, monitoring, and plain-English insights. A Rust engine
handles the heavy computation, and every stage shares one fit / transform / save contract.
AutomatedCleaning is now MLPilot. Install dataspoof-mlpilot and import mlpilot. Existing code and saved models keep working: see Moving from AutomatedCleaning.
✨ What's new in 2.4.0
- Install only what you need (guide):
pip install dataspoof-mlpilot-vision
(or -text, -audio, -video, -tabular, -multimodal, -serving, -hub …) installs the lean core
plus exactly that capability's dependencies; mlpilot engines shows what is installed.
- One engine contract for every data type:
TabularPipeline, TextPipeline, VisionPipeline,
AudioPipeline, VideoPipeline and MultimodalPipeline (or auto_pipeline) audit, featurise, train,
evaluate and return the same result: metrics, quality report, reproducibility manifest, log, lineage.
Other packages add engines through the mlpilot.engines entry point.
- Video (
mlpilot.media.video): decoding, quality audits (frozen, dark, duplicate clips …), scene
cuts, optical-flow motion, frame extraction and clip features.
- Multimodal fusion: one table of values, text and image / audio / video paths; rows missing a
modality keep the others; modality importance shows what each one contributes.
- Domain intelligence for 25 industries (guide): detect the
industry, map columns to business concepts (asking when unsure), compute 208 KPIs, check 106 business
rules, add 114 feature recipes, recommend use cases, and look up 749 glossary terms
(
mlpilot define RevPAR). Goals that name an industry get a domain_analysis step and rule gate.
- The Command Center (guide): the Hub's web UI now has twelve
screens - Dashboard, AutoPilot, Projects, Data Studio, Datasets (versions, impact analysis), Workflow
Builder, Experiments, Model Registry, Deployments (canary / shadow / blue-green, rollback), Monitoring
(root causes), Governance (policy engine, risk) and Settings.
- Seven master notebooks - one per data type plus autonomous ML - in
examples/.
- Fixed: AutoML on free-text columns embedded nothing for new rows (rare-category grouping turned
every unseen sentence into "Other"); see the changelog and the
verified feature matrix.
In 2.3.0
- Autonomous execution engine (guide):
- describe the goal in YAML or plain English;
- MLPilot plans and runs the gated workflow, waits for approvals, resumes after crashes, and
records every step's log and cost;
- cost-aware AutoML finds the best model within your latency and size limits.
- Enterprise operations:
- data observability and reconciliation;
- incident diagnosis with playbooks;
- backups and DR drills;
- model-file scanning and SBOMs;
- rate limits and request validation;
- model risk levels and retirement;
- active learning;
- privacy-attack tests;
- Hub tenants with quotas.
- Walkthrough: examples/enterprise_walkthrough.ipynb.
Earlier in 2.2.0
- Images taken in hard conditions (guide):
- detect, simulate and remove fog, rain, snow, low light, glare, blur, noise and JPEG damage;
- faces partly covered by hair, masks or sunglasses: measured, simulated for training, blurred
for privacy;
- licence-plate detection and reading, in bad weather too;
- a robustness benchmark that scores any image model per condition.
- Quantization (guide):
- int8 / fp16 ONNX models, measured on your data before you ship them;
- quantized embeddings;
- smaller column types that keep every value;
- a quantization release gate.
- Full list: CHANGELOG.
⚡ Quick start
pip install dataspoof-mlpilot
import mlpilot as ac
df = ac.read("titanic.csv") # 1. ingest
train, test = df.head(700), df.tail(191)
print(ac.check_quality(train).grade) # 2. data-quality score
model = ac.AutoML("Survived", time_budget=60).fit(train) # 3. clean + features + AutoML
print(model.report(test)) # 4. held-out metrics
model.model_card(test, sensitive=["Sex"]).save("model_card.html") # 5. model card + fairness
registry = ac.ModelRegistry("registry")
version = registry.register(model, "titanic") # 6. version it...
registry.promote("titanic", version.version, "production") # ...and promote it
predictions = ac.score(registry.load("titanic"), test) # 7. score (or ac.serve / build_docker)
monitor = ac.Monitor(model, reference=test) # 8. watch for drift & decay
print(ac.insights_report(df, "Survived").narrative) # 9. plain-English insights
What that gives you:
- Held-out metrics with 95% confidence intervals.
- A model card (HTML) with SHAP drivers, error analysis and a fairness review.
- A versioned production model whose checksum is verified when it loads.
- A drift monitor for new data.
- Plain-English findings, such as "The rate of Survived = 1 is 19% when Sex is male, vs 74%
otherwise".
Prefer to clean interactively? ac.clean_data(ac.load_data("data.csv")) walks you through it
and builds an EDA dashboard.
🧭 The platform at a glance