Azure Machine Learning Studio
Navigate the Azure Machine Learning Studio, run an automated ML experiment on a tabular dataset, and deploy the best model as a real-time scoring endpoint.
Azure Machine Learning Studio is a free Cloud & IT Cert Prep lesson on CoddyKit — lesson 3 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Cloud & IT Cert Prep learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
What Is Azure Machine Learning?
Azure Machine Learning (Azure ML) is a managed cloud platform for the full machine learning lifecycle — data preparation, experiment tracking, model training, evaluation, deployment, and monitoring. Unlike Azure AI Services (which provides pre-built AI), Azure ML lets you train your own models on your own data using any ML framework: scikit-learn, TensorFlow, PyTorch, XGBoost, and more. It is the preferred platform for data scientists and ML engineers working in Azure.
Azure ML Workspace
An Azure ML workspace is the top-level resource that ties together all ML resources: compute clusters, datasets, experiments, models, and deployments. When you create a workspace, Azure automatically provisions a linked Storage account (for data), Key Vault (for secrets), Application Insights (for deployment monitoring), and optionally a Container Registry (for custom environments). Everything in an ML project lives inside a single workspace, making collaboration and governance straightforward.
# Create an Azure ML workspace
az ml workspace create \
--name myMLWorkspace \
--resource-group myRG \
--location eastusAzure ML Studio Interface
Azure ML Studio is the web-based UI for the Azure ML workspace at ml.azure.com. It organises work into sections: Notebooks (Jupyter environment for interactive coding), Automated ML (no-code model training), Designer (drag-and-drop pipeline builder), Jobs (training run history and metrics), Models (model registry), Endpoints (deployed model APIs), and Data (dataset management). Studio is built for both data scientists and ML engineers.
Automated ML (AutoML)
Automated ML automates the iterative process of selecting algorithms and hyperparameters. You provide a labelled dataset, specify the task type (classification, regression, or time-series forecasting), select the target column, and set a time budget. AutoML trains hundreds of model candidates in parallel, evaluates each, and returns a ranked leaderboard. The best model is automatically registered in the model registry and can be deployed with one click. No ML expertise is required to get a working model.
# Submit an AutoML job via CLI v2
az ml job create \
--file automl_job.yaml \
--resource-group myRG \
--workspace-name myMLWorkspace
# automl_job.yaml excerpt:
# type: automl
# task: classification
# primary_metric: accuracy
# training_data:
# path: azureml:myDataset:1
# target_column_name: label
# n_cross_validations: 5Compute Targets
Azure ML supports multiple compute targets for training and inference. Compute instances are single-node managed VMs used for interactive notebook development. Compute clusters are auto-scaling multi-node clusters (scaling to 0 when idle) used for training jobs. Serverless compute requires no cluster management — you submit a job and Azure ML selects and provisions the compute automatically. For inference, you can deploy to managed online endpoints (real-time), batch endpoints, or Azure Kubernetes Service.
# Create a compute cluster for training
az ml compute create \
--name myTrainCluster \
--resource-group myRG \
--workspace-name myMLWorkspace \
--type AmlCompute \
--size Standard_DS3_v2 \
--min-instances 0 \
--max-instances 4Experiment Tracking and MLflow
Azure ML is integrated with MLflow, the open-source ML experiment tracking library. When you log metrics, parameters, and artefacts using mlflow.log_metric() and mlflow.log_param(), Azure ML automatically stores them in the workspace's experiment history. You can compare runs across experiments in Studio to identify the best hyperparameter combination. MLflow model logging (mlflow.sklearn.log_model()) also registers models directly to the Azure ML model registry.
import mlflow
# In your training script
mlflow.autolog() # auto-logs params, metrics, and models
with mlflow.start_run():
# train your model here
model.fit(X_train, y_train)
accuracy = model.score(X_test, y_test)
mlflow.log_metric('accuracy', accuracy)Responsible AI Dashboard
Azure ML Studio includes a Responsible AI Dashboard that analyses your trained model for fairness, interpretability, and error analysis. The error analysis component identifies subgroups of the test dataset where the model performs worst. The interpretability component (using SHAP or LIME) shows which features most influence model predictions. The fairness assessment checks whether prediction error rates differ across demographic groups, helping you identify and mitigate bias before deployment.
Deploying a Model as a Real-Time Endpoint
To deploy a trained model for real-time inference, you create a managed online endpoint in Azure ML. An endpoint has one or more deployments — each deployment is a version of the model with its own compute configuration. You specify the model, a scoring script (entry point), and the compute instance type. Traffic can be split between deployments (e.g. 90% to blue, 10% to green) for safe rollout of new model versions. The endpoint exposes an HTTPS REST API.
# Deploy a model to a managed online endpoint
az ml online-endpoint create \
--name myEndpoint \
--resource-group myRG \
--workspace-name myMLWorkspace
az ml online-deployment create \
--endpoint-name myEndpoint \
--name blue \
--model azureml:myModel:1 \
--instance-type Standard_DS2_v2 \
--instance-count 1Batch Endpoints for Large-Scale Scoring
Batch endpoints run inference asynchronously on large datasets rather than scoring one record at a time. You submit a batch job pointing to an input dataset (in Azure Blob Storage) and the endpoint processes it in parallel across a compute cluster. Results are written to an output location. Batch inference is ideal for daily churn prediction runs, monthly credit risk scoring, or nightly image classification of new content uploads — scenarios where latency per request is not critical but throughput matters.
Data Drift and Model Monitoring
After deployment, model accuracy can degrade over time as real-world data patterns change — a phenomenon called data drift or model drift. Azure ML provides model monitoring that compares production inference data with the training baseline and alerts when statistical drift exceeds a threshold. You can schedule monitoring jobs daily or weekly. When significant drift is detected, it is a signal to retrain the model with recent data to maintain prediction quality.
ML Pipelines for Automation
Azure ML Pipelines orchestrate multi-step ML workflows — data preprocessing, feature engineering, model training, evaluation, and conditional deployment — as a reusable, parameterised pipeline. Each step runs on its own compute target. Pipelines can be scheduled (e.g. retrain weekly on new data), triggered by Azure Data Factory, or invoked via REST API. Published pipelines are versioned in the workspace, enabling reproducible ML experiments and auditability for regulated industries.
Quick Check
Test your understanding of Microsoft Azure Fundamentals (AZ-900) concepts from this lesson.
Lesson Recap
In this lesson you learned: Azure ML Studio provides a unified UI for the full ML lifecycle from data to deployed model, AutoML automates algorithm selection and hyperparameter tuning without ML expertise, and managed online and batch endpoints deploy trained models as REST APIs for real-time or large-scale asynchronous scoring. Next up we explore Azure OpenAI Service for integrating large language models into applications.
Frequently asked questions
Is the “Azure Machine Learning Studio” lesson free?
Yes — the full text of “Azure Machine Learning Studio” is free to read here on the web, and the Cloud & IT Cert Prep course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Cloud & IT Cert Prep course, upgrade to CoddyKit PRO.
What will I learn in “Azure Machine Learning Studio”?
Navigate the Azure Machine Learning Studio, run an automated ML experiment on a tabular dataset, and deploy the best model as a real-time scoring endpoint. You practise Cloud & IT Cert Prep with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start Cloud & IT Cert Prep?
No prior experience is required. Cloud & IT Cert Prep on CoddyKit is structured for beginners through advanced learners; this is — lesson 3 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “Azure Machine Learning Studio” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this Cloud & IT Cert Prep lesson?
Yes. Every Cloud & IT Cert Prep lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- Azure Cognitive Services Overview
- Language and Vision APIs in Practice
- Azure Machine Learning Studio
- Azure OpenAI Service