MLOpsPython/README.md

60 строки
4.1 KiB
Markdown
Исходник Постоянная ссылка Обычный вид История

---
page_type: sample
languages:
- python
products:
- azure
- azure-machine-learning-service
- azure-devops
2019-08-20 17:30:38 +03:00
description: "Code which demonstrates how to set up and operationalize an MLOps flow leveraging Azure Machine Learning and Azure DevOps."
---
2019-04-27 20:55:25 +03:00
# MLOps with Azure ML
2019-05-29 20:06:31 +03:00
CI: [![Build Status](https://aidemos.visualstudio.com/MLOps/_apis/build/status/Model-Train-Register-CI?branchName=master)](https://aidemos.visualstudio.com/MLOps/_build/latest?definitionId=160&branchName=master)
CD: [![Build Status](https://aidemos.visualstudio.com/MLOps/_apis/build/status/microsoft.MLOpsPython-CD?branchName=master)](https://aidemos.visualstudio.com/MLOps/_build/latest?definitionId=161&branchName=master)
MLOps will help you to understand how to build a Continuous Integration and Continuous Delivery pipeline for an ML/AI project. We will be using the Azure DevOps Project for build and release/deployment pipelines along with Azure ML services for model retraining pipeline, model management and operationalization.
2019-03-29 21:01:33 +03:00
2019-05-03 01:45:38 +03:00
![ML lifecycle](/docs/images/ml-lifecycle.png)
This template contains code and pipeline definitions for a machine learning project that demonstrates how to automate an end to end ML/AI workflow.
## Architecture and Features
Architecture Reference: [Machine learning operationalization (MLOps) for Python models using Azure Machine Learning](https://docs.microsoft.com/en-us/azure/architecture/reference-architectures/ai/mlops-python)
This reference architecture shows how to implement continuous integration (CI), continuous delivery (CD), and retraining pipeline for an AI application using Azure DevOps and [Azure Machine Learning](/azure/machine-learning/service/overview-what-is-azure-ml). The solution is built on the scikit-learn diabetes dataset but can be easily adapted for any AI scenario and other popular build systems such as Jenkins and Travis.
The build pipelines include DevOps tasks for data sanity tests, unit tests, model training on different compute targets, model version management, model evaluation/model selection, model deployment as realtime web service, staged deployment to QA/prod and integration testing.
2019-02-06 02:03:43 +03:00
## Prerequisite
2019-02-06 02:03:43 +03:00
- Active Azure subscription
2019-03-29 21:01:33 +03:00
- At least contributor access to Azure subscription
2019-02-06 02:03:43 +03:00
## Getting Started
2019-02-06 02:03:43 +03:00
To deploy this solution in your subscription, follow the manual instructions in the [getting started](docs/getting_started.md) doc. Then optionally follow the guide for [integrating your own code](docs/custom_model.md) with this repository template.
2019-03-29 21:01:33 +03:00
2019-02-06 02:03:43 +03:00
### Repo Details
2019-03-29 21:01:33 +03:00
You can find the details of the code and scripts in the repository [here](/docs/code_description.md)
2019-02-06 02:03:43 +03:00
### References
- [Azure Machine Learning (Azure ML) Service Workspace](https://docs.microsoft.com/en-us/azure/machine-learning/service/overview-what-is-azure-ml)
2019-04-27 20:56:55 +03:00
- [Azure ML CLI](https://docs.microsoft.com/en-us/azure/machine-learning/service/reference-azure-machine-learning-cli)
2019-02-06 02:03:43 +03:00
- [Azure ML Samples](https://docs.microsoft.com/en-us/azure/machine-learning/service/samples-notebooks)
- [Azure ML Python SDK Quickstart](https://docs.microsoft.com/en-us/azure/machine-learning/service/quickstart-create-workspace-with-python)
- [Azure DevOps](https://docs.microsoft.com/en-us/azure/devops/?view=vsts)
2019-01-29 22:48:10 +03:00
## Contributing
2019-01-29 22:48:10 +03:00
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit <https://cla.microsoft.com.>
2019-01-29 22:48:10 +03:00
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
2019-01-29 22:48:10 +03:00
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.