© David Paper 2020
D. PaperHands-on Scikit-Learn for Machine Learning Applicationshttps://doi.org/10.1007/978-1-4842-5373-1_5

5. Scikit-Learn Classifier Tuning from Simple Training Sets

David Paper1 
(1)
Logan, UT, USA
 

Tuning is the process of maximizing an algorithm’s performance without overfitting, underfitting, or creating high variance. Overfitting is when an algorithm trains data so exactly that it may fail to fit new data or predict future results reliably. Overfitting usually occurs when a model is too complex for the data it is trying to train. An overly complex model trains data very well, but also fits noise that is not a part of the data. So, when used to train new data, noise is introduced causing unpredictable results.

Underfitting is ...

Get Hands-on Scikit-Learn for Machine Learning Applications: Data Science Fundamentals with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.