Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Machine Learning: Make Your Own Recommender System

You're reading from  Machine Learning: Make Your Own Recommender System

Product type Book
Published in Mar 2024
Publisher Packt
ISBN-13 9781835882061
Pages 131 pages
Edition 1st Edition
Languages
Author (1):
Oliver Theobald Oliver Theobald
Profile icon Oliver Theobald

Table of Contents (15) Chapters

1. FOREWORD
2. DATASETS USED IN THIS BOOK
3. INTRODUCING SCIKIT-LEARN
4. INTRODUCTION
5. THE ANATOMY
6. SETTING UP A SANDBOX ENVIRONMENT
7. WORKING WITH DATA
8. DATA REDUCTION
9. ITEM-BASED COLLABORATIVE FILTERING
10. USER-BASED COLLABORATIVE FILTERING
11. CONTENT-BASED FILTERING
12. EVALUATION
13. PRIVACY & ETHICS
14. THE FUTURE OF RECOMMENDER SYSTEMS
15. FURTHER RESOURCES

EVALUATION

 

If you’re familiar with the mechanics of machine learning, you might have noticed the absence of training and test data in the models used in the exercises thus far. An explanation for this vital question will be revealed later in this chapter, but, first, let’s review the rationale of split validation.

The partition of a dataset into training data and test data, known as split validation, is a fundamental part of machine learning. The training data is used to detect general patterns and design a prediction model, while the test data is used to road-test the model and compare the results. Thus, if we reserve 30% of the data and test it with the model developed from patterns discovered in the initial 70% of the data, will the model’s predictions still hold accurate?

Two possible reasons why the model may falter at making predictions using the test data are overfitting and underfitting. Overfitting exists when the model adjusts itself to fit patterns...

lock icon The rest of the chapter is locked
You have been reading a chapter from
Machine Learning: Make Your Own Recommender System
Published in: Mar 2024 Publisher: Packt ISBN-13: 9781835882061
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 €14.99/month. Cancel anytime}