For an AI-assisted workflow, use MLJAR Studio to prepare and run training while keeping the Python code editable. Start with the AutoML Python tutorial or inspect the employee attrition and fairness walkthrough.
MLJAR AutoML supports tabular classification and regression. The Python package provides four training modes: Explain, Perform, Compete, and Optuna. Reports and explanations depend on the task and configuration; Optuna is not exposed in this repository’s notebook controls.
AutoML training and reports in MLJAR Studio.
Example report from the employee attrition tutorial; results depend on your dataset and training settings.
Train machine learning models from a CSV file, inspect the results, and download a model archive for batch predictions. This repository turns three Jupyter notebooks into browser apps with Mercury, using MLJAR AutoML (mljar-supervised) for training.
MLJAR AutoML overview · Python documentation · MLJAR Studio
| Notebook | What it does |
|---|---|
| Train AutoML | Upload training data, choose features and a target, select a training mode and algorithms, and download trained models. |
| Advanced training | Configure Golden Features, feature selection, algorithms, stacking, ensembles, cross-validation, and the evaluation metric. |
| Batch predictions | Load a model ZIP archive, upload a CSV of input data, and download predictions.csv. |
The training notebooks display an AutoML report and export the experiment directory as a ZIP archive. Depending on the selected settings, AutoML handles preprocessing, model selection, tuning, and explanations.
Clone the repository and run the commands from its root directory:
git clone https://github.com/mljar/automl-app.git
cd automl-app
python -m venv .venvActivate the environment on macOS or Linux:
source .venv/bin/activateOn Windows PowerShell:
.venv\Scripts\Activate.ps1Install the dependencies and start Mercury:
python -m pip install -r requirements.txt
mercury runOpen the local address printed by Mercury and choose a notebook. Use a Python version supported by the installed packages; see the AutoML installation guide and Mercury documentation.
- Open Train AutoML or Train AutoML (advanced).
- Upload a CSV with column names in the first row.
- Select the input features and target column. Exclude the target from the input features.
- Choose the algorithms and training time limit, then click Start training.
- Review the report and download the ZIP archive from the app output.
The basic notebook offers Explain, Perform, and Compete modes. The advanced notebook uses Compete and exposes additional controls for feature engineering, validation, and model combination.
- Open Predict with AutoML.
- Upload the ZIP archive downloaded after training.
- Upload a CSV containing the input features used for training, with matching column names and order.
- Inspect the predictions and download
predictions.csv.
The prediction notebook reloads the saved experiment and calls automl.predict_all() on the uploaded data.
Both training notebooks set a 1 MB upload limit. Edit this cell to change it:
data_file = mr.File(label="Upload CSV with training data", max_file_size="1MB")The training time choices are 60, 120, 240, and 300 seconds. Edit the selector to add a larger budget, for example:
time_limit = mr.Select(
label="Time limit (seconds)",
value="300",
choices=["60", "120", "240", "300", "600", "1200"],
)Save the notebook and reload the app after changing its controls.
The current AutoML package can generate a Mercury prediction app with automl.app(). See the prediction app tutorial for generation and publishing, or self-host Mercury with Docker. MLJAR Platform provides managed hosting.
Prediction app examples from the MLJAR AutoML page, generated with the current AutoML package.
- Structured reports for Python and AI workflows
- AutoML source code
- Mercury documentation
- Research applications
Report problems or share ideas in GitHub Issues. Follow MLJAR on Twitter, Aleksandra on LinkedIn, or Piotr on LinkedIn.
This repository is available under the MIT license. MLJAR Studio and managed hosting have separate plans.






