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 now! 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
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learn Microsoft Fabric

You're reading from   Learn Microsoft Fabric A practical guide to performing data analytics in the era of artificial intelligence

Arrow left icon
Product type Paperback
Published in Feb 2024
Publisher Packt
ISBN-13 9781835082287
Length 338 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Bradley Schacht Bradley Schacht
Author Profile Icon Bradley Schacht
Bradley Schacht
Arshad Ali Arshad Ali
Author Profile Icon Arshad Ali
Arshad Ali
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Part 1: An Introduction to Microsoft Fabric FREE CHAPTER
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 €18.99/month. Cancel anytime