Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Hands-On  MLOps on Azure

You're reading from   Hands-On MLOps on Azure Automate, secure, and scale ML workflows with the Azure ML CLI, GitHub, and LLMOps

Arrow left icon
Product type Paperback
Published in Aug 2025
Publisher Packt
ISBN-13 9781836200338
Length 276 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Banibrata De Banibrata De
Author Profile Icon Banibrata De
Banibrata De
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Part 1: Foundations of MLOps
2. Understanding DevOps to MLOps FREE CHAPTER 3. Training and Experimentation 4. Part 2: Implementing MLOps
5. Reproducible and Reusable ML 6. Model Management (Registration and Packaging) 7. Model Deployment: Batch Scoring and Real-Time Web Services 8. Capturing and Securing Governance Data for MLOps 9. Monitoring the ML Model 10. Notification and Alerting in MLOps 11. Part 3: MLOps and Beyond
12. Automating the ML Lifecycle with ML Pipelines and GitHub Workflows 13. Using Models in Real-world Applications 14. Exploring Next-Gen MLOps 15. Other Books You May Enjoy
16. Index

AML CLI

Creating a robust ML workspace starts with setting up a dedicated environment that isolates your project dependencies from global settings. This is crucial for maintaining consistency across different development stages and among various team members. In this section, we will look at how to set up and install the necessary packages in the AML CLI and then understand its fundamental structure and usage.

Setting up a virtual environment

Here’s a step-by-step guide to setting up a virtual environment and installing the necessary packages:

  1. Choose your environment manager: For Python-based projects, tools such as conda or venv are popular choices. conda is preferred for managing environments that require complex dependencies, while venv is suitable for simpler Python dependencies.
  2. Create a virtual environment:
    • Use this for conda:
      ```
      conda create -n myenv python=3.11
      conda activate myenv
      ```
      
    • Use this for...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon