2쪽
What is DevOps? People. Process. Products. Build Deploy & “ Test DevOps is the union of people, process, and products to enable continuous delivery of Develop Continuous Operate Delivery value to your end users. ” http://bit.ly/WhatIs-DevOps Plan Monitor & & Track Learn
5쪽
DEVOPS MLOPS Manage code (source files) Manage code (source files) Manage data files, notebooks, Rmd docs Manage infrastructure (as code) Manage infrastructure (as code) Manage environments (as code) Source code control Source code control Track experiment outcomes Manage data sets Build executables Train models Builds take hours Model training may take weeks or months (mostly) commodity compute GPU compute Manage build versions Manage model versions Manage reproducible environments Tests (deterministic) Tests (probabilistic) Fix bugs with code Fix bugs with code and/or data Model drift / model retraining
8쪽
Azure ML service SDK for R Open-source R package for use with CRAN R: azuremlsdk • Create Workspaces, Experiments, Compute, Models, and other artifacts with R commands • Use any R function/package (and track requirements for deployment) • HyperDrive support: smart hyperparameter search with parallel compute • Publish models as web services (in Azure or your own infra) • Trigger training / deployment pipelines from CI/CD services
9쪽
Accident fatality prediction app • Import flat CSV file and clean data Manage • Export to datastore Data • Create training cluster Train Model • Run experiments: GLM, KNN, GLMNET • Select model by accuracy Deploy • Deploy R function as container model • Shiny application Integrate • Call R function via REST endpoint model
12쪽
Create 2-node training cluster Nodes pre-loaded with R and R packages Scales up as jobs added to queue, scales down when unused Resize as needed Shared between workspace users (Python and R) Low priority nodes for ~80% discount GPU clusters available
15쪽
Register model Register model with R model object Models can be versioned Packages (CRAN, GitHub or private) needed to execute. R script receives model and data (JSON) to make prediction
17쪽
Integrate model into Shiny app Pass Shiny input data frame to endpoint Extract prediction from endpoint response Deploy Shiny app to any server … or call from any another app
19쪽
Deliver ML apps with Pipelines az extension add -n azure-cli-ml Azure ML Pipelines Azure Pipelines pip install --upgrade azureml-sdk in Azure DevOps
20쪽
CI/CD for apps with Azure Pipelines Azure ML extension triggers builds/releases on model registration in Azure ML Services
앞 20페이지만 표시됩니다. 전체를 보려면 자료를 다운로드하세요.
댓글 (0)
댓글이 없습니다. 첫 댓글을 남겨보세요!