ML Model Factory and MLOps¶
The Model Factory is a set of code templates and shared engines to prepare data, train and compare models, and deploy the one you choose. Find them in the code templates library.
Watch the model lifecycle¶
Follow versioned data through training, evaluation on held-out data, comparison, registration, the approval to deploy, and monitoring.
Animated SVG | GIF | Still image
For the upstream data path, see DataOps + MLOps.
Choose your use case¶
| Pattern | Typical use |
|---|---|
| Batch | Score a dataset on demand or on a schedule. |
| Online | Answer individual inference requests. |
| Streaming | Process continuous or micro-batch events with checkpoints. |
The current Model Factory organizes examples by pattern, task and technology: classification, regression, forecasting and supported vision routes using custom Python, AutoML, Azure ML pipelines and Databricks.
Start at the use-case tree, or follow Train your first model. Each example lists what it needs.
Where to make your changes¶
Folder in 50-ml-model-factory |
Ownership |
|---|---|
user-config |
Your scenario, model policy, storage and Databricks choices. |
Project copies of usecase-type examples |
Thin examples you can adapt for the workload. |
accelerator |
Shared maintainer-owned engines; avoid copying their internals. |
data/out and ml-environment |
Generated datasets, models, reports and run artifacts. |
Train, compare and deploy separately¶
- Validate the chosen scenario, input data, budget and compute references.
- Render or inspect the job before submitting cloud work.
- Evaluate candidates against compatible held-out data and the configured policy.
- Review registration and deployment as separate actions.
- Monitor inputs, performance and freshness after deployment.
The best model of a comparison still needs your approval before it goes to production. When labels or observations are missing, the monitoring shows the result as unknown.
Version and engine limits¶
azure-esml-sdk (azure_esml) is a new API. Code written for the ESML v1 SDK needs changes to use it.
AutoML forecasting isn't available for streaming, because that forecast needs the observed history with
every request. The Model Factory guide names the alternative.
The compute sizes and versions of a project are settings, and what you can choose depends on the region. See the Parameters reference.
More info
Model Factory quickstart and limitations | Shared pipeline templates | DataOps
Each example lists what it needs: the licence of its sample data, the vision packages, a compute cluster that exists, and a sign-in to Azure.