You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Microsoft's recommended approach for deploying AutoML models to production for real-time endpoints is to download your AutoML model and deploy it using Azure Functions.
4
+
5
+
## Prerequisites
6
+
7
+
- Azure CLI installed and logged in
8
+
- Azure Functions Core Tools installed
9
+
- Python 3.8+ installed locally
10
+
- Access to the Azure ML workspace containing your model
This directory contains the deployment resources for a machine learning model created using Azure AutoML (Automated Machine Learning).
4
+
See [Azure AutoML Real-Time Deployment](../docs/AZURE_DEPLOYMENT.md)
5
+
6
+
## Overview
7
+
8
+
These files enable deployment of an AutoML-trained model as a serverless Azure Function for real-time inference. The model was trained using Azure's AutoML service and is now packaged for production deployment.
9
+
10
+
## Files
11
+
12
+
-**`__init__.py`** - Main Azure Function handler that loads the AutoML model and processes prediction requests
13
+
-**`requirements.txt`** - Python dependencies required for the function runtime
14
+
-**`function.json`** - Azure Functions configuration defining the HTTP trigger and bindings
15
+
-**`automl-model/`** - Directory containing the downloaded AutoML model artifacts
16
+
17
+
## Usage
18
+
19
+
This function is designed to be deployed to Azure Functions and provides a REST API endpoint for real-time model predictions.
20
+
21
+
### API Endpoint
22
+
23
+
```bash
24
+
curl -X POST https://titanic-survival-app.azurewebsites.net/api/predict \
25
+
-H "Content-Type: application/json" \
26
+
-d '{"data": [[3, 1, 22, 1, 0, 7.25, 2]]}'
27
+
```
28
+
29
+
### Response
30
+
31
+
```json
32
+
{
33
+
"prediction": [0]
34
+
}
35
+
```
36
+
37
+
## Deployment
38
+
39
+
For complete deployment instructions, see the [Azure Deployment Guide](../docs/AZURE_DEPLOYMENT.md).
0 commit comments