Skip to main content

AutoML Studio

Build classification models you can trust, from a spreadsheet, without writing code.
A local web app and Python library: data checks that catch leakage, an AutoML search with honest test results, rigorous experiments, data connectors, and an optional AI assistant that works with Claude, GPT, Gemini or local models.

tests studio python license

Quick start · Features · Screenshots · Benchmark · Roadmap · Layout

AutoML Studio results: test ROC AUC with a 95% interval, two plans compared on the same test rows, all test scores and the saved model's size and latency

Key results

  • Second of 14 systems on 55 AutoML Benchmark tasks at a 5-minute budget, behind AutoGluon, and significantly better than every other system tested (FLAML, LightAutoML, H2O, auto-sklearn, mljar, TPOT, and TabPFN and TabICL on CPU), Holm-corrected. Second of three at 30 minutes, significantly ahead of FLAML. Details.
  • Each improvement was measured before it became the default: stacking, a zero-shot portfolio learned on 100 OpenML datasets kept apart from the benchmark, parallel trials and time-aware search were each benchmarked against the previous version on the same tasks, folds and seeds. A meta-learning warm start that showed no benefit was kept experimental.
  • A no-code app built around trustworthy evaluation: leakage checks before training, a held-out test with confidence intervals, repeated cross-validation experiments with the corrected resampled t-test, and limits on model size and prediction time.
  • Runs on a laptop or a supercomputer: a desktop app for Windows, macOS and Linux, and Slurm scripts used on CSC Roihu (384-core nodes).

Why this project

  • Honest numbers. Every score comes from rows the search never saw, with a 95% confidence interval. Comparisons use paired tests and say plainly when a difference is just noise.
  • Problems are caught before training. Target leakage, ID columns, constant or mostly empty columns, class imbalance, rare classes and duplicates are found automatically and fixed in one click.
  • No code, no black box. The whole flow runs in the browser, and every step shows what was tried and why.
  • Your data stays on your computer. The AI assistant is optional and sees column statistics only, unless you allow sample rows.

Quick start

Desktop app

Download AutoML Studio for Windows, macOS or Linux from the latest release, unzip it and start it. It opens in its own window (Windows and macOS; on Linux in your browser), and everything stays on your computer. A tray icon shows the connection, the runs in progress and CPU, RAM and GPU use, and quits the app. The builds are not code-signed yet: on Windows choose More info → Run anyway; on macOS right-click the app and choose Open. See desktop/README.md.

From PyPI

pip install "automl-studio[studio]"     # the library and the web app
automl-studio                           # opens http://127.0.0.1:8765/ in your browser
pip install "automl-studio[desktop]"    # the same, in its own window with a tray icon: automl-studio --desktop
pip install automl-studio               # only the Python library (automl_v2)

From a clone

git clone https://github.com/MainTechAI/AutoML.git && cd AutoML
pip install -r requirements-v2.txt -r requirements-studio.txt
python -m automl_studio            # opens http://127.0.0.1:8765/; --desktop for the window (pip install pywebview pystray)

Python API

from automl_v2 import AutoMLClassifier

clf = AutoMLClassifier(time_budget=300, metric="roc_auc",            # or accuracy, balanced_accuracy, f1, log_loss, ...
                       max_model_bytes=5_000_000, max_predict_ms=50)  # limits the saved model must meet
clf.fit(X_train, y_train)          # pandas DataFrame or numpy array; categoricals and missing values are handled
clf.predict_proba(X_test)
clf.leaderboard_                   # every trial with its score, size, latency and ensemble weight
clf.save("model.joblib")           # the fitted predictor only; joblib.load() it anywhere

The original 2020 PyQt GUI (legacy)

conda env create --name automl --file=requirements.yml && conda activate automl
cd auto_ml && python gui.py

What you can do

The app is five steps, plus Research and Settings:

Step What happens
1 Data A file or a connector becomes a table; you pick the column to predict, or several: each gets its own model, trained one after another, and the other columns to predict are never used as its inputs.
2 Check Automatic data checks, each explained, with one-click fixes.
3 Plan Presets, an AI-proposed plan, or your own settings and limits.
4 Run A live search; every trial is plotted as it finishes.
5 Results Test scores with intervals, the model, what it relies on, and a download.

1. Bring your data

Source What it reads Status
File on this computer CSV, Excel, Parquet, JSON (up to 500 MB). Workbooks with several sheets: pick one, stack sheets that share columns, or import each ✅
Link to a file the same formats at any http(s) URL ✅
Scientific datasets 101 well-known classification datasets from OpenML (OpenML-CC18, the AutoML Benchmark tasks, classics such as iris and Titanic), most used first. The 55 benchmark tasks show our published scores, and their results page compares your run with them (benchmarks/build_studio_catalog.py builds the list) ✅
Google Sheets a sheet shared "Anyone with the link can view" ✅
Database a table or one read-only SELECT through SQLAlchemy (PostgreSQL, MySQL, SQL Server, SQLite, …) ✅
Cloud storage s3://, gs://, az:// files through fsspec ✅
Private Sheets and OneDrive (OAuth), warehouses, scheduled re-imports, writing predictions back 🗺️ #76

Connector safety:

  • Database queries are checked to be a single SELECT, PostgreSQL sessions are read-only, and SQLite files open read-only.
  • Imports are capped at a million rows.
  • Credentials are used once for the import, never stored, and stripped from the recorded source.
  • New connectors are a small plugin class; the form is generated from its fields.

2. Catch problems before they become a model

Before any model is trained, deterministic checks look for:

  • Target leakage: a column that predicts the outcome almost perfectly on its own, or whose blank vs filled pattern reveals it, like a cancellation date that only exists for customers who left.
  • Columns that teach the wrong thing: ID-like, constant, mostly empty.
  • Free text and many-valued categories, which get their own treatment instead of being treated as plain categories (see below).
  • Dates: split into year, month, weekday and hour in one click.
  • Target problems: imbalance with metric advice, rare classes, missing labels, and continuous targets, which are not supported yet.
  • Dataset problems: duplicate rows and very small data.

Critical fixes are on by default; everything else is your call. The AI assistant can add a second opinion (below).

Free text, with AI categories you review

Comment, description and ticket columns carry real signal, and every distinct sentence used to be its own category.

  • Text features, fitted inside each fold: word and character patterns (TF-IDF reduced by SVD), or the meaning of each text from a pretrained multilingual embedding model that runs on your computer (fastembed/ONNX, no PyTorch: MiniLM, Qwen3-Embedding or static Model2Vec vectors; or an embedding model in Ollama or LM Studio).
  • AI categories in two levels: an AI proposes groups and subgroups from a sample of texts and labels a few hundred of them.
    • You edit the scheme and correct labels in a review table that shows where a trained model disagrees.
    • A small local classifier learns from your reviewed labels and sorts every row. It is saved inside the model, so prediction never calls an AI.
    • The outcome you predict is never shown to the AI. Texts stay on your computer with Ollama or LM Studio, and go to a cloud provider only after you confirm it.
  • Many-valued categories (store, product or postcode IDs) get frequency and cross-fitted target encoding instead of arbitrary codes. It was better in 13 of 14 model and dataset pairs we measured (Amazon_employee_access: logistic regression AUC 0.743 to 0.828; KDDCup09_appetency: histogram boosting 0.749 to 0.807).
  • Does it help? Compare plans with and without text or categories in an experiment.

Review table of AI-labelled texts with the category, who labelled it, and what the trained model says

  • Presets chosen from your data:
    • Quick look (1 min)
    • Balanced (5 min)
    • Best quality (30 min)
    • Small and fast model (under 2 MB and 50 ms per prediction)
  • Plain-language controls: search time, the metric to optimise, how to treat rare outcomes (class weights, threshold tuning, over- or under-sampling, SMOTE), model size and prediction-time limits, and model families.
  • Model families: LightGBM, XGBoost, CatBoost, scikit-learn histogram boosting, random forest, extra trees, logistic regression, SVM, k-nearest neighbours, neural network (MLP). 12 more, opt-in (the classic models of the original auto_ml; not part of the benchmarked default): linear and quadratic discriminant analysis, Gaussian naive Bayes, decision tree, AdaBoost, bagged trees, Gaussian process, SGD linear model, linear SVM, ridge, nearest centroid, and a class-frequency baseline.

4. Search: the automl_v2 core

  • Leak-free pipelines: encoding, imputation, scaling and resampling are fitted inside each cross-validation fold.
  • Stratified, shuffled k-fold with out-of-fold predictions. The returned model is the bag of fold models that was validated.
  • Text and high-cardinality columns: text features (TF-IDF + SVD, or local sentence embeddings) and frequency + target encoding, all inside the folds; trusted feature steps such as reviewed AI categories travel inside the saved model.
  • Zero-shot portfolio, then Optuna TPE over conditional search spaces. From a 15-minute budget up, the portfolio is 25 configurations learned on 100 OpenML datasets kept apart from the benchmark; below that, each family's library defaults. Warm-start configurations are accepted (warm_start=).
  • Parallel trials when single trials are cheap (TPE with a constant liar), one trial with all cores on big data.
  • Level-2 stacking: logistic regression on the best models' logits and LightGBM on the columns plus logits, cross-fitted on the same folds and offered to ensemble selection as ordinary candidates.
  • Real constraints: model size and single-row latency are feasibility constraints, checked again on the object that is saved.
  • Greedy ensemble selection (Caruana 2004) over out-of-fold predictions, within the size and latency limits.
  • Threshold tuning for binary label metrics.
  • Time-aware: configurations that can't finish in time are skipped, and trials stop at the deadline once a model exists, so a fit always returns one.
  • Robustness: memory budgeting (oversized trials are stopped, kept models are pruned and freed memory goes back to the OS) and BLAS/OpenMP thread caps, so it is safe on 384-core HPC nodes.

5. Results you can act on

  • Test score from rows held out before the search, with a 95% bootstrap interval, plus accuracy, balanced accuracy, ROC AUC, log loss, F1 and MCC.
  • The model you get: which models it combines, the saved file size, and the time for one prediction, each against your limits.
  • Labels that make sense on imbalanced data: for two-outcome problems the decision threshold is chosen to maximise F1 on the search's validation predictions (like H2O), so a rare outcome such as churn is actually predicted. It is saved with the model.
  • What the model relies on: permutation importance, a confusion matrix, and a leaderboard of the best trials.
  • Use it: download the model and a Python script that applies the same column fixes and predicts new rows.

6. Compare plans, or run a real experiment

  • Quick comparison: up to 4 plans trained on the same rows and scored on the same test rows. Paired bootstrap, Holm correction, and a plain verdict ("within what chance alone produces").
  • Experiment mode: every plan is searched and tested on R × K repeated stratified cross-validation splits. Plans are compared with the corrected resampled t-test (Nadeau & Bengio 2003), because CV splits share training rows and the plain t-test is overconfident. A plan that fails on a split is shown, not hidden. One click trains the winner on all the data.

7. Optional AI assistant

The assistant works with Anthropic Claude, OpenAI, Google Gemini, and Ollama or LM Studio (local and free), behind one structured-output layer with schema validation and a corrective retry.

Feature What it does Guard-rails
Review my problem Explains risks in plain language: leakage, label timing, sampling, metric choice. Fixes may only use allowed actions on existing columns.
Propose a plan Model families, budget, metric, imbalance handling, limits and starting hyperparameters for this data. Validated against the model registry; hyperparameters are checked by building the estimator; nothing is executed as code. Run it against the preset in an experiment to see if it really helps.
Text categories Proposes two-level categories for a free-text column and labels a sample of texts; you review both, and a local classifier learns from your labels. The target is never shown; texts leave your computer only for a cloud provider you confirm; no AI at prediction time.
Research Searches OpenAlex and arXiv, summarises the evidence with citations, and writes a pre-registered experiment protocol (hypotheses, baselines, validation, test, minimum effect). Citations to papers that were not retrieved are removed; "Set up this experiment" carries the protocol into the Plan step.

Privacy:

  • Only column names, types and statistics are sent; sample rows are opt-in.
  • Every prompt and answer is logged locally.
  • API keys live in the OS keychain (or a user-only file) and never reach the browser in full.
  • Claude needs an API key, because Anthropic doesn't allow third-party apps to use a Claude.ai subscription.

8. Built to be safe and fast to use

  • Local by default: the server listens on 127.0.0.1 only, rejects foreign Host headers (DNS rebinding), and every API call needs a per-session token.
  • Responsive: runs execute in their own process with live progress over server-sent events, so the UI never freezes. A search can be paused (it is frozen, and its time budget waits) and resumed, and a stopped search can be started again.
  • Liquid Glass design: translucent, blurred panels over a loss landscape where each trial lands as a point of light.
  • Accessible: light and dark themes, a solid-panel mode (prefers-reduced-transparency), reduced motion respected, and keyboard focus visible. Works on phones.
  • Shareable state: links keep their place (the URL restores the step, dataset, target and run).

9. A reproducible benchmark

benchmarks/ runs 14 AutoML systems on the AutoML Benchmark tasks:

  • one JSON result per run: test metrics, real fit time, saved-model size and latency;
  • Slurm scripts for HPC clusters (tested on CSC Roihu);
  • one container spec per framework;
  • AMLB-style aggregation with ranks, intervals and Wilcoxon tests.

Screenshots

Data step with a table preview and the column to predict
Data. Drop a file and preview it.
Database connector form
Connectors. Links, Google Sheets, databases and cloud storage.
Data checks: leakage, ID column, constant column, dates
Check. The leaking cancellation date and the ID column are caught before training.
Plan step with presets, settings and the experiment option
Plan. Presets, limits, model families, and quick or rigorous comparison.
Live search with the score of every trial
Run. Every trial as it finishes, coloured and shaped by model family, with the best so far.
Experiment result with means, intervals and per-split scores
Experiment. Repeated cross-validation with the corrected t-test.
Results in dark mode
Dark mode.
Settings with four AI providers and privacy options
Settings. Four AI providers, privacy and appearance.
Research step
Research. Literature search to an experiment protocol.
Data checks on a phone
On a phone.

How it compares

55 classification tasks from the AutoML Benchmark (OpenML suite 271), 8 cores and 16 GB per run, on the CSC Roihu supercomputer. Each system is compared with automl_v2 task by task (Wilcoxon signed-rank test, Holm-corrected). Full tables, protocol and raw results: benchmarks/RESULTS.md.

5-minute budget, 14 systems

System Mean rank (lower is better) Best of all systems on Head-to-head with automl_v2 (tasks won / lost)
AutoGluon 1.6 (best quality) 2.65 14 tasks AutoGluon wins, 40 / 15 (significant)
automl_v2 (this project) 4.08 5 tasks reference
FLAML 2.8 6.00 0 automl_v2 wins, 41 / 14 (significant)
LightAutoML 0.4 6.16 3 automl_v2 wins, 39 / 16 (significant)
H2O AutoML 3.46 6.47 2 automl_v2 wins, 46 / 9 (significant)
auto-sklearn 0.15 6.48 4 automl_v2 wins, 39 / 16 (significant)
mljar-supervised 1.3 6.65 0 automl_v2 wins, 41 / 14 (significant)
CatBoost (defaults, no tuning) 6.98 2 automl_v2 wins, 44 / 11 (significant)
TabICL (foundation model, CPU) 7.52 18 automl_v2 wins, 30 / 25 (significant)
TabPFN v2 (foundation model, CPU) 10.06 5 automl_v2 wins, 40 / 15 (significant)
LightGBM and random forest defaults, TPOT 1.1 9.55–10.77 0–1 automl_v2 wins, 52–53 / 2–3 (significant)
original auto_ml (2020) 11.40 0 automl_v2 wins, 53 / 2 (significant)

30-minute budget: AutoGluon 1.40, automl_v2 2.08, FLAML 2.52 (mean rank among three). automl_v2 beats FLAML on 39 of 55 tasks and loses to AutoGluon on 42; both differences are significant.

How to read it:

  • AutoGluon is clearly ahead, with larger and slower models: at 5 minutes, 364 MB and 0.5 s per row, against 173 MB and 0.35 s for automl_v2.
  • automl_v2 is second, and significantly better than every other system, including the other open-source AutoML frameworks.
  • The foundation models are the surprise. On CPU, TabICL timed out on about half its runs, yet it had the single best score on 18 tasks, more than any other system. GPU runs are next (#80).
  • What automl_v2 adds is what the app is built around: limits on the deployed model, leak checks and honest evaluation.

Architecture

flowchart LR
  subgraph Browser
    UI["React UI<br/>no code"]
  end
  subgraph Local server
    API["FastAPI<br/>localhost,<br/>session token"]
    PROF["Data checks<br/>leakage, IDs,<br/>imbalance"]
    CONN["Connectors<br/>files, Sheets,<br/>SQL, cloud"]
    AI["AI assistant<br/>Claude, GPT,<br/>Gemini, local"]
    LIT["OpenAlex<br/>+ arXiv"]
    RUN["Run process<br/>held-out test<br/>or repeated CV"]
  end
  CORE["automl_v2<br/>leak-free CV,<br/>portfolio + TPE,<br/>ensembles"]
  UI <-->|HTTP| API
  API --> PROF & CONN & AI & RUN
  AI --> LIT
  RUN --> CORE
  RUN -.->|progress events, SSE| API

Roadmap

Area Status Tracking
Web app, no-code flow, Liquid Glass design, desktop app (Windows, macOS, Linux) ✅ shipped; 🗺️ code signing, auto-update #73
AI assistant (review, plan) across four vendors ✅ shipped #74
Research agent and rigorous experiments ✅ literature search, protocols, repeated-CV experiments; 🗺️ automatic plans per hypothesis #75
Data connectors ✅ files, links, Google Sheets, SQL, cloud storage; 🗺️ OAuth, warehouses, scheduled re-imports, write-back #76
Stacking, parallel trials, time-aware search ✅ shipped, benchmarked on CSC #79
Faster prediction (refit on all data, distillation, ONNX), hard trial deadlines 🗺️ planned #79
Spark, Ray, Dask, Slurm, Kubernetes, warehouses 🗺️ planned #77
More HPO samplers through Optuna/OptunaHub, and a benchmark of HPO algorithms (TPE, CMA-ES, GP-BO, SMAC, HEBO, BOHB/DEHB) 🗺️ planned #78, #104
AutoGluon as an optional engine in Studio 🗺️ planned #103
Meta-learning: literature review and a state-of-the-art approach 🚧 in progress
Benchmark: foundation models on GPU (TabPFN, TabICL), 1-hour budgets, regression tasks 🚧 14 systems done; GPU runs next #80
Portfolio learned across datasets (replacing meta-learning) ✅ shipped, used from 15-minute budgets benchmarks/RESULTS.md
pip packaging: pyproject.toml, optional extras, automl-studio command 🗺️ planned next #94
Time-aware and grouped validation splits (dates, repeated customer IDs) 🗺️ planned #95
Text columns, AI categories with review, high-cardinality encodings ✅ shipped; 🗺️ native categoricals in GBDTs #96
Misuse guardrails for local models, EU AI Act support 🗺️ planned #98
Regression, time series, explainability and model cards, MLflow, deployment 🗺️ planned #81

✅ available · 🚧 in progress · 🗺️ planned. Ideas and pull requests are welcome; open an issue first for larger changes.

Project layout

Path What it is
automl_studio/ The web app: FastAPI backend (server.py, runner.py, profiling.py, connectors.py, assistant.py, llm.py) and the React UI (web/, built into static/).
automl_v2/ The search core and Python API (AutoMLClassifier).
benchmarks/ Benchmark runner, Slurm scripts, container specs, aggregation and results.
auto_ml/ The original 2020 engine and PyQt desktop GUI.
meta_learning/ OpenML meta-features and evaluation parsers for the legacy warm start (experimental).
tests/ pytest suites for everything above; CI runs them on Python 3.11–3.13.

Development

pip install -r requirements-ci.txt -r requirements-studio.txt
python -m pytest -q tests                      # all suites

cd automl_studio/web && npm install
npm run dev                                    # Vite on :5173, proxies /api to `python -m automl_studio`
npm run build                                  # type-checks and writes automl_studio/static (committed)

Dependabot keeps dependencies current, and a weekly CI run catches breaking upstream releases.

History

  • 2019–2020: started as a bachelor's thesis, a PyQt desktop AutoML app with hyperopt TPE over scikit-learn models, model-size and prediction-time limits, and top-N model export (thesis, slides, presentation, in Russian).
  • LUT special assignment: added a Dataset2Vec-style meta-learning warm start over 512 OpenML datasets, bagging and voting ensembles, and imbalanced-data resampling. The meta-learning is now marked experimental: on 52 held-out datasets it showed no measurable benefit over defaults (details).
  • 2026:
    • correctness fixes to the original engine;
    • the automl_v2 core;
    • AutoML Studio;
    • the benchmark.
The original desktop GUI

GUI GUI settings GUI results

Upload a dataset and a column-description file, choose algorithms, a metric, and time and size limits, then click Start. The best N models are saved to the results folder. Meta-learning, ensembling and resampling are available through ModelSelection keyword arguments (examples).

License

GPL-3.0

Metadata

Release files for automl-studio 2.2.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 automl-studio 2.2.0
File Size Uploaded Provenance Actions
automl_studio-2.2.0.tar.gz 439.0 kB With provenance Details for automl_studio-2.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for automl-studio 2.2.0
File Interpreter ABI Platform Actions
automl_studio-2.2.0-py3-none-any.whl Python 3 none any Details for automl_studio-2.2.0-py3-none-any.whl

Total release size: 799.4 kB

Release files / automl_studio-2.2.0.tar.gz

Download URL automl_studio-2.2.0.tar.gz
Size 439.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5e07a65ddaf114442a682e23712167504f2302fe521ce677e997dcd64fda9a6b
BLAKE2b-256 checksum
How to use checksums
e2ca854baac5b6a131290e457e1946387efd5ae8860c03847ac9f563d6b31bc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / automl_studio-2.2.0-py3-none-any.whl

Download URL automl_studio-2.2.0-py3-none-any.whl
Size 360.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
56a6caa45e995e847f687cf89dfc9a42ee58d1cb3ca27ee37390f09441c375e1
BLAKE2b-256 checksum
How to use checksums
e308d1b74b0c07d6ec5e6a3b92fcdb8b6de8a17385194589e84d1655579583b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Security for automl-studio 2.2.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for automl_studio-2.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

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