AutoML Model Training with MLJAR ππ€
In this notebook, youβll navigate four key steps to take your data from raw file to trained Meachine Learning models. MLJAR's AutoML engine will automatically test multiple algorithms, optimize hyperparameters, and generate interactive report for you.
Steps in this notebook:
- Load your dataset
- Define features and target
- Train with MLJAR AutoML
- Review the comprehensive report
All required packages will be installed when running recipes. Letβs get started!
Step 1 β Load Your Dataset π₯
Bring your data into the notebook easily:
- π° Recipe: Read CSV β Read a CSV file with UI Code Recipe.
- π€ AI Read File β AI auto-detects file type and loads your file into a DataFrame named `df`.
After loading, youβll see the first few rows to verify everything loaded correctly.
print('π° Recipe: Read CSV or π€ AI Read File')
Step 2 β Define Features (X) & Target (y) π―
Prepare your modeling data:
- π§ Select X, y β Use Code Recipe UI to select X and y.
Once done, youβll have `X` (predictors) and `y` (outcome) ready for training.
print('π° Recipe: Select X, y')
Step 3 β Train with MLJAR AutoML π€βοΈ
Launch automated model training:
- Select Features (X) and Target (y) in the AutoML recipe UI.
- Execute code to start MLJAR AutoML training.
- Wait a while β and watch logs as multiple models are trained and validated under the hood.
print('π° Recipe: Train AutoML')
Step 4 β Review AutoML Report πβ¨
Explore an interactive report. You can click on models in the leadorboard table to get details for each of them.
print('π° Recipe: View AutoML Report')
Next steps
Your AutoML training is done. You have the best model ready. You can use it for computing predictions on new data. It can be done in many ways.
- You can have batch script that is computing predicions for new data and insert into database.
- You can deploy your model as REST API, and send new data points in requests.
- You can create a web application and build UI for your Machine Learning model.
If you have questions or need help, please just let me know at piotr@mljar.com - I will help you :)
MLJAR Workflows
Explore more ready-to-use, no-code workflows for your projects.