Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Azure Machine Learning Engineering
  • Table Of Contents Toc
Azure Machine Learning Engineering

Azure Machine Learning Engineering

By : Dennis Michael Sawyers , Sina Fakhraee Ph.D , Balamurugan Balakreshnan, Megan Masanz
4.6 (13)
close
close
Azure Machine Learning Engineering

Azure Machine Learning Engineering

4.6 (13)
By: Dennis Michael Sawyers , Sina Fakhraee Ph.D , Balamurugan Balakreshnan, Megan Masanz

Overview of this book

Data scientists working on productionizing machine learning (ML) workloads face a breadth of challenges at every step owing to the countless factors involved in getting ML models deployed and running. This book offers solutions to common issues, detailed explanations of essential concepts, and step-by-step instructions to productionize ML workloads using the Azure Machine Learning service. You’ll see how data scientists and ML engineers working with Microsoft Azure can train and deploy ML models at scale by putting their knowledge to work with this practical guide. Throughout the book, you’ll learn how to train, register, and productionize ML models by making use of the power of the Azure Machine Learning service. You’ll get to grips with scoring models in real time and batch, explaining models to earn business trust, mitigating model bias, and developing solutions using an MLOps framework. By the end of this Azure Machine Learning book, you’ll be ready to build and deploy end-to-end ML solutions into a production system using the Azure Machine Learning service for real-time scenarios.
Table of Contents (17 chapters)
close
close
1
Part 1: Training and Tuning Models with the Azure Machine Learning Service
7
Part 2: Deploying and Explaining Models in AMLS
12
Part 3: Productionizing Your Workload with MLOps

Creating a data asset using the Python SDK

In this section, we will show you how to create a data asset using the Python SDK. As mentioned in the previous section, you can create data from datastores, local files, and public URLs. The Python script to create a data asset from a local file (for example, titanic.csv) is shown in Figure 2.19.

Please note that in the following code snippet, type = AssetTypes.mltable abstracts the schema definition for the tabular data, making it easier to share datasets:

Figure 2.19 – Creating a data asset via the Python SDK

Figure 2.19 – Creating a data asset via the Python SDK

Inside the my_data folder, there are two files:

  • The actual data file, which in this case is titanic.csv
  • The mltable file, which is a YAML file specifying the data’s schema so that the mltable engine can use it in order to materialize the data into an in-memory object such as pandas or DASK

Figure 2.20 shows the mltable YAML file for this example:

Figure 2.20 – The mltable YAML file for creating an mltable data asset...
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Azure Machine Learning Engineering
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon