**Hands-on Lab 3: Build a Complete ML Pipeline Using AutoML and Designer** **๐Ÿงญ Objective** In this lab, you will: Use Azure Machine Learning Designer for a visual ML pipeline Build and evaluate a model using AutoML Compare both methods Deploy the best model ** ๐Ÿงฑ Prerequisites** An active Azure subscription Azure Machine Learning Workspace already created Compute instance and compute cluster set up A basic dataset (e.g., Titanic, Diabetes, or Bank Marketing) ** โš™๏ธ PART 1: Create a Dataset in Azure ML** Go to Azure ML Studio Navigate to "Data" > + Create Choose "From local files" or "Web URL" and upload your dataset (e.g., diabetes.csv) Set type: Tabular Choose your default datastore Confirm schema and create the dataset **๐Ÿงช PART 2: AutoML Pipeline** ๐Ÿงฉ Step 1: Launch AutoML In the Azure ML Studio, go to "Automated ML" Click + New Automated ML run Select your uploaded dataset Select or create a new experiment Choose a compute cluster ๐Ÿงช Step 2: Configure AutoML Task type: Choose (e.g., Classification if using Titanic) Target column: e.g., Survived Accept default preprocessing Set Exit criteria (e.g., 1 hour or 20 iterations) โ–ถ๏ธ Step 3: Start Run Click Start Wait for the experiment to finish (AutoML will try many algorithms and preprocessing pipelines) **๐Ÿง  PART 3: Build the Same Model Using Designer** ๐Ÿ“Š Step 1: Open Designer In Azure ML Studio, go to "Designer" Click + New pipeline ๐Ÿ“ฆ Step 2: Drag Components From the left panel, drag the following: Dataset (your uploaded dataset) Select Columns in Dataset Clean Missing Data (optional) Split Data Train Model Score Model Evaluate Model Connect components in this order: mathematica Copy Edit Dataset โ†’ Select Columns โ†’ Clean Missing โ†’ Split Split โ†’ Train Model (also needs Label column) Train โ†’ Score โ†’ Evaluate Choose a built-in algorithm from "Model" tab, e.g., Logistic Regression. ๐Ÿ›  Step 3: Configure Parameters In Train Model, choose the label column In Split Data, use 0.7/0.3 ratio Select scoring metric: e.g., accuracy โ–ถ๏ธ Step 4: Submit Job Select compute target Click Submit Wait for job to finish View metrics in Evaluate Model ** ๐Ÿš€ PART 4: Register and Deploy the Best Model** From AutoML results or Designer output, click "Register Model" Go to "Models" tab in left nav Click your registered model โ†’ Deploy Choose Real-time endpoint Select compute type (e.g., Azure Kubernetes Service or Managed Online Endpoint) Add sample input data for testing ๐Ÿ“ˆ PART 5: Compare & Document Method Accuracy Time Model Name AutoML 0.89 25m AutoML_001 Designer 0.85 10m Logistic_001 ๐Ÿ“ Deliverables โœ… A completed visual pipeline in Designer โœ… An AutoML experiment with leaderboard โœ… A registered and deployed model โœ… A short report comparing the two methods ๐Ÿงผ Cleanup Delete compute cluster if no longer needed Delete endpoints to avoid charges