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
Power BI Machine Learning and OpenAI

You're reading from  Power BI Machine Learning and OpenAI

Product type Book
Published in May 2023
Publisher Packt
ISBN-13 9781837636150
Pages 308 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Greg Beaumont Greg Beaumont
Profile icon Greg Beaumont

Table of Contents (21) Chapters

Preface 1. Part 1: Data Exploration and Preparation
2. Chapter 1: Requirements, Data Modeling, and Planning 3. Chapter 2: Preparing and Ingesting Data with Power Query 4. Chapter 3: Exploring Data Using Power BI and Creating a Semantic Model 5. Chapter 4: Model Data for Machine Learning in Power BI 6. Part 2: Artificial Intelligence and Machine Learning Visuals and Publishing to the Power BI Service
7. Chapter 5: Discovering Features Using Analytics and AI Visuals 8. Chapter 6: Discovering New Features Using R and Python Visuals 9. Chapter 7: Deploying Data Ingestion and Transformation Components to the Power BI Cloud Service 10. Part 3: Machine Learning in Power BI
11. Chapter 8: Building Machine Learning Models with Power BI 12. Chapter 9: Evaluating Trained and Tested ML Models 13. Chapter 10: Iterating Power BI ML models 14. Chapter 11: Applying Power BI ML Models 15. Part 4: Integrating OpenAI with Power BI
16. Chapter 12: Use Cases for OpenAI 17. Chapter 13: Using OpenAI and Azure OpenAI in Power BI Dataflows 18. Chapter 14: Project Review and Looking Forward 19. Index 20. Other Books You May Enjoy

Adding new features to the ML queries in Power Query

Back in Power Query, you will now add the new features that were discussed in this chapter to the ML queries. Looking through the list, Month Num is the only one that will need some custom M code to convert Incident Date to a month. You’ve already done this in the previous chapter, so you can reuse the Date.Month([Incident Date]) M code for a custom column.

Starting with Predict Damage highlighted in the group ML queries, follow these steps:

  1. Double-click on Remove Other Columns under Applied Steps.
  2. Add each of the features in the table shown in Figure 5.16 (including Incident Date to be converted into Month Num).

Your screen should look like this:

Figure 5.16 – Select the columns to be added to the ML query

Figure 5.16 – Select the columns to be added to the ML query

  1. Click OK.
  2. Phase of Flight, Sky, Precipitation, and Effect on Flight all have some empty values. Replace the null (empty) values with the text value empty...
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}