Azure Machine Learning With Azure Databricks
This repository highlights the workflow and ease of use to train machine learning or deep learning models using Azure Databricks. Then deploying those models on both the AML Service and Azure Databricks. There are many demos and documentation of this workflow available by Microsoft, however, I hope to provide and end to end walkthrough in a single location.
We will be using the popular MNIST dataset, and will be following closely with this Azure Machine Learning Service example of training a model. The walkthrough also teaches users how to deploy models using the Azure Machine Learning service. The linked example is ran using Azure Notebooks, which is an excellent way to use cloud compute resources while staying in a Jupyter environment. The key difference here is that we will be using Azure Databricks to train and deploy our model.
This type of model training and deployment is common with clients I work with. Therefore, I wrote a blog describing tips and why a developer would choose to deploy using AML Service and Databricks.
Please complete the following in order for an end to end implementation:
The walkthrough shows how to do manual deployments of models using AML Service, however, one thing to keep in mind is that typically these would be automated with build and release pipelines (Azure DevOps). If a data scientist wishes to deploy the model to a web service environment as shown in the walkthrough I would recommend the pipelines access the models directly from the model management azure machine learning workspace, while if a streaming solution is desired I would access the model directly from a databricks file system mount.
This repo aims to provide an overview of both Azure Databricks and Azure Machine Learning Services. If there are any confusing steps or errors please let me know. Any other comments or questions you can contact me at firstname.lastname@example.org.