Reader small image

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

Product typeBook
Published inMar 2024
PublisherPackt
ISBN-139781835882061
Edition1st Edition
Right arrow
Author (1)
Oliver Theobald
Oliver Theobald
author image
Oliver Theobald

Oliver Theobald, a technical writer and best-selling author, excels in AI, fintech, and cloud computing. With global experience, he now resides between China and Japan, deepening his expertise in technology. As an instructor, Oliver emphasizes clarity and engagement, stripping away jargon to make complex topics accessible. His courses aim to empower both beginners and professionals with practical skills for success in the tech industry, making learning both effective and enjoyable.
Read more about Oliver Theobald

Right arrow

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 2024Publisher: PacktISBN-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.
undefined
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

Author (1)

author image
Oliver Theobald

Oliver Theobald, a technical writer and best-selling author, excels in AI, fintech, and cloud computing. With global experience, he now resides between China and Japan, deepening his expertise in technology. As an instructor, Oliver emphasizes clarity and engagement, stripping away jargon to make complex topics accessible. His courses aim to empower both beginners and professionals with practical skills for success in the tech industry, making learning both effective and enjoyable.
Read more about Oliver Theobald