Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Azure Data Scientist Associate Certification Guide

You're reading from   Azure Data Scientist Associate Certification Guide A hands-on guide to machine learning in Azure and passing the Microsoft Certified DP-100 exam

Arrow left icon
Product type Paperback
Published in Dec 2021
Publisher Packt
ISBN-13 9781800565005
Length 448 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Andreas Botsikas Andreas Botsikas
Author Profile Icon Andreas Botsikas
Andreas Botsikas
Michael Hlobil Michael Hlobil
Author Profile Icon Michael Hlobil
Michael Hlobil
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Section 1: Starting your cloud-based data science journey
2. Chapter 1: An Overview of Modern Data Science FREE CHAPTER 3. Chapter 2: Deploying Azure Machine Learning Workspace Resources 4. Chapter 3: Azure Machine Learning Studio Components 5. Chapter 4: Configuring the Workspace 6. Section 2: No code data science experimentation
7. Chapter 5: Letting the Machines Do the Model Training 8. Chapter 6: Visual Model Training and Publishing 9. Section 3: Advanced data science tooling and capabilities
10. Chapter 7: The AzureML Python SDK 11. Chapter 8: Experimenting with Python Code 12. Chapter 9: Optimizing the ML Model 13. Chapter 10: Understanding Model Results 14. Chapter 11: Working with Pipelines 15. Chapter 12: Operationalizing Models with Code 16. Other Books You May Enjoy

Connecting to datastores

Datastores are the engines where your data resides and provide access to anyone authorized to do so. In most Python examples you see on the internet, there is a connection string that contains the credentials to connect to a database or a blob store. There are a couple of drawbacks associated with this technique:

  • The credentials stored within these scripts are considered a security violation, and you can accidentally expose your protected datasets by publishing a script in a public repository such as GitHub.
  • You need to manually update all the scripts when the credentials change.

Azure ML allows you to have a single centralized location where you define the connection properties to various stores. Your credentials are securely stored as secrets within the workspace's associated key vault. In your scripts, you reference the datastore using its name and you can access its data without having to specify the credentials. If, at some point...

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