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
AI and Business Rule Engines for Excel Power Users

You're reading from   AI and Business Rule Engines for Excel Power Users Capture and scale your business knowledge into the cloud – with Microsoft 365, Decision Models, and AI tools from IBM and Red Hat

Arrow left icon
Product type Paperback
Published in Mar 2023
Publisher Packt
ISBN-13 9781804619544
Length 386 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Paul Browne (GBP) Paul Browne (GBP)
Author Profile Icon Paul Browne (GBP)
Paul Browne (GBP)
ALEX PORCELLI ALEX PORCELLI
Author Profile Icon ALEX PORCELLI
ALEX PORCELLI
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

Preface 1. Part 1:The Problem with Excel, and Why Rule-Based AI Can Be the Solution FREE CHAPTER
2. Chapter 1: Wrestling with Excel? You Are Not Alone 3. Chapter 2: Choosing an AI and Business Rules Engine – Why Drools and KIE? 4. Chapter 3: Your First Business Rule with the Online KIE Sandbox 5. Part 2: Writing Business Rules and Decision Models – with Real-Life Examples
6. Chapter 4: More Decision Models, Business Rules, and Decision Tables 7. Chapter 5: Sharing and Deploying Decision Models Using OpenShift and GitHub 8. Chapter 6: Calling Business Rules from Excel Using Power Query 9. Part 3: Extending Excel, Decision Models, and Business Process Automation into a Complete Enterprise Solution
10. Chapter 7: Using Business Rules in Excel with Visual Basic, Script Lab, or Office Scripts 11. Chapter 8: Using AI and Decision Services Within Power Automate Workflows 12. Chapter 9: Advanced Expressions, Decision Models, and Testing 13. Part 4: Next Steps in AI, Machine Learning, and Rule Engines
14. Chapter 10: Scaling Rules in Business Central with Docker and the Cloud 15. Chapter 11: Rules-Based AI and Machine Learning AI – Combining the Best of Both 16. Chapter 12: What Next? A Look inside Neural Networks, Enterprise Projects, Advanced Rules, and the Rule Engine 17. Index 18. Other Books You May Enjoy Appendix A - Introduction to Visual Basic for Applications 1. Appendix B - Testing Using VSCode, Azure, and GitHub Codespaces 2. Appendix C - Troubleshooting Docker

Another machine learning method – decision trees

In Chapter 11, we trained a machine learning model using Naïve Bayes. At the time, we mentioned that we only needed to change one line to swap in other machine learning methods. If you take a look at the 12_tree.ipynb notebook on the book’s GitHub page, you’ll see we’ve done exactly that. The line we create our classifier in the notebook now reads as follows:

model = PMMLPipeline([( "classifier", DecisionTreeClassifier(),)])

Running the notebook in Azure or another notebook hosting option is the same as in the previous chapter, so we won’t repeat ourselves. More importantly, when you run the notebook, you get a prediction graph, as shown in Figure 12.1:

Figure 12.1 – Predictions from the decision tree model

Compare this result to Figure 11.16 in the previous chapter. While the predictions are broadly similar, they are not as fine grained. This...

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