This is a tutorial repo of Course 5 - Machine Learning in Production - MLOps organized by DataScienceWorld.Kan. Its' oriented target towards building an Azure DevOps CI/CD pipeline that comprises the steps as follows:
- Setup infrastructure over Azure ML workspace
- Connect to Azure ML workspace
- Running register Dataset and Datastore
- Training a machine learning model
- Endpoint deployment of machine learning model
- Test model performance.
To manipulate datasets and train models you need to initialize an AzureML working space as a priority. The Lession 9 - Part II - Deploying infrastructure as code has provided a hands-on guideline for your to complete this.
- Get default workspace:
python aml-service/00-Workspace.py -config config/dev/config.json
- Load datastore:
python aml-service/10-Datastore.py -config config/dev/config.json
- Register Dataset:
python aml-service/22-TabularDataset.py -config config/dev/config.json
- Initializing compute instances:
python aml-service/30-Compute.py -config config/dev/config.json
- Register Environments:
python aml-service/40-Environment.py -config config/dev/config.json
- Model training pipeline:
python aml-service/50-PipelineModelTraining.py -config config/dev/config.json -pipeline modeltraining
- Model deployment Local service:
python aml-service/77-DeployToLocalService.py -config config/dev/config.json
- Testing local deployment:
python aml-service/78-TestLocal.py -config config/dev/config.json