Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learn Microsoft Fabric

You're reading from  Learn Microsoft Fabric

Product type Book
Published in Feb 2024
Publisher Packt
ISBN-13 9781835082287
Pages 338 pages
Edition 1st Edition
Languages
Authors (2):
Arshad Ali Arshad Ali
Profile icon Arshad Ali
Bradley Schacht Bradley Schacht
Profile icon Bradley Schacht
View More author details

Table of Contents (19) Chapters

Preface 1. Part 1: An Introduction to Microsoft Fabric
2. Chapter 1: Overview of Microsoft Fabric and Understanding Its Different Concepts 3. Chapter 2: Understanding Different Workloads and Getting Started with Microsoft Fabric 4. Part 2: Building End-to-End Analytics Systems
5. Chapter 3: Building an End-to-End Analytics System – Lakehouse 6. Chapter 4: Building an End-to-End Analytics System – Data Warehouse 7. Chapter 5: Building an End-to-End Analytics System – Real-Time Analytics 8. Chapter 6: Building an End-to-End Analytics System – Data Science 9. Part 3: Administration and Monitoring
10. Chapter 7: Monitoring Overview and Monitoring Different Workloads 11. Chapter 8: Administering Fabric 12. Part 4: Security and Developer Experience
13. Chapter 9: Security and Governance Overview 14. Chapter 10: Continuous Integration and Continuous Deployment (CI/CD) 15. Part 5: AI Assistance with Copilot Integration
16. Chapter 11: Overview of AI Assistance and Copilot Integration 17. Index 18. Other Books You May Enjoy

Enriching and operationalizing

In this section, we will look at loading an already trained ML model from the model registry and generate predictions on new incoming data. Once these predictions have been generated, we will save this data in another Delta table so that we can create a report on it.

Note

The code that will be discussed in this section can be found in the Data Science - Perform Prediction or Scoring notebook. Please make sure you attach the lakehouse (nyctaxilake) you created in the Data and storage – creating a lakehouse and ingesting data using Apache Spark section of this chapter to this notebook.

The steps are as follows:

  1. The first step is to import the required libraries into the current Spark session. Next, we must load the trained ML model from the MLflow-based model registry. While specifying the model’s name, we also need to specify the version of the model – in this case, it’s version = 2:
    import mlflow
    from pyspark...
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 $15.99/month. Cancel anytime}