docs/tutorials/azure/README.md
The objective of this tutorial is to build a model that predicts if a driver will complete a trip based on a number of features ingested into Feast. During this tutorial you will:
For this tutorial you will require:
We have created an ARM template that deploys and configures all the infrastructure required to run feast in Azure. This makes the set-up very simple - select the Deploy to Azure button below.
The only 2 required parameters during the set-up are:
# If you are using Azure portal CLI or Azure CLI 2.37.0 or above
az ad signed-in-user show --query id -o tsv
# If you are using Azure CLI below 2.37.0
az ad signed-in-user show --query objectId -o tsv
You may want to first make sure your subscription has registered
Microsoft.Synapse,Microsoft.SQL,Microsoft.NetworkandMicrosoft.Computeproviders before running the template below, as some of them may require explicit registration. If you are on a Free Subscription, you will not be able to deploy the workspace part of this tutorial.
The ARM template will not only deploy the infrastructure but it will also:
☕ It can take up to 20 minutes for the Redis cache to be provisioned.
In the Azure Machine Learning Studio, navigate to the left-hand menu and select Compute. You should see your compute instance running, select Terminal
In the terminal you need to clone this GitHub repo:
git clone https://github.com/feast-dev/feast
In the Azure ML Studio, select Notebooks from the left-hand menu and then open the Loading feature values into feature store notebook.Work through this notebook.
💁Ensure the Jupyter kernel is set to Python 3.8 - AzureML
In the Azure ML Studio, select Notebooks from the left-hand menu and then open the register features into your feature registry notebook. Work through this notebook.
💁Ensure the Jupyter kernel is set to Python 3.8 - AzureML
In the Azure ML Studio, select Notebooks from the left-hand menu and then open the train and deploy a model using feast notebook. Work through this notebook.
💁Ensure the Jupyter kernel is set to Python 3.8 - AzureML
If problems are encountered during model training stage, create a new cell and rexecute
!pip install scikit-learn==0.22.1. Upon completion, restart the Kernel and start over.
Microsoft.MachineLearningServices/workspaces/computes resource from fs_synapse_azure_deploy.json and setting up the environment locally.
Azure SQL Pool secrets by going to Subscriptions-><Your Subscription>->Resource Group->Key Vault and giving your account admin permissions to the keyvault. Retrieve the FEAST-REGISTRY-PATH, FEAST-OFFLINE-STORE-CONN, and FEAST-ONLINE-STORE-CONN secrets to use in your local environment.az login.