# When should I use custom training, AutoML, or a hyperparameter sweep in Azure ML?

Exam: AI-300 — Operationalizing Machine Learning and Generative AI Solutions
Knowledge domain: Implement machine learning model lifecycle and operations
Updated: 2026-11-25T04:35:31.139202+00:00
HTML: https://learningpathx.com/faq/AI-300/ai300-custom-training-automl-or-sweep.html

## Also asked as

- How do I choose among a custom Azure ML job, AutoML, and a sweep?
- Which Azure Machine Learning training approach fits my experiment?

Use a **custom job** when you need control over the calculation, such as a domain-specific preprocessing rule or loss function. Use **AutoML** when a supported task, such as tabular classification, regression or forecasting, benefits from searching candidate algorithms and configurations. Use a **sweep** when working training code already exposes hyperparameters and you want Azure Machine Learning to explore their values.

Write down your hypothesis, baseline, validation measure and budget before selecting the approach. For AutoML, verify the particular task, data requirements and exit criteria. For a sweep, first show that one representative trial logs the right objective. MLflow can track results from each approach, allowing you to compare the candidates with the same evaluation design.

### Microsoft Learn

* [What is automated ML? AutoML - Azure Machine Learning](https://learn.microsoft.com/en-us/azure/machine-learning/concept-automated-ml?view=azureml-api-2)
* [Hyperparameter tuning a model (v2) - Azure Machine Learning](https://learn.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters?view=azureml-api-2)
* [MLflow and Azure Machine Learning - Azure Machine Learning](https://learn.microsoft.com/en-us/azure/machine-learning/concept-mlflow?view=azureml-api-2)

Source: [AI-300: Choosing and Comparing Training Experiments](https://learningpathx.com/news/ai-300-choosing-and-comparing-training-experiments.html)
