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
Training Systems Using Python Statistical Modeling

You're reading from   Training Systems Using Python Statistical Modeling Explore popular techniques for modeling your data in Python

Arrow left icon
Product type Paperback
Published in May 2019
Publisher Packt
ISBN-13 9781838823733
Length 290 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Curtis Miller Curtis Miller
Author Profile Icon Curtis Miller
Curtis Miller
Arrow right icon
View More author details
Toc

Training models

In this section, we will see supervised learning in action. We won't look at complicated algorithms, but we will look at how to train even a simple algorithm and machine learning best practices, such as splitting data into training and test data, and performing cross-validation.

Issues in training supervised learning models

When a model does not predict the target variable well, it underfits. This is true for both seen and unseen future data. Underfitting is when an algorithm trained to predict a value does so poorly both on the training data and on future, unseen data. Overfitting is when a model predicts training data well, but does not generalize well, and so predicts future data poorly. Data analysts...

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 ₹800/month. Cancel anytime