Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
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
Applied Deep Learning with Python

You're reading from   Applied Deep Learning with Python Use scikit-learn, TensorFlow, and Keras to create intelligent systems and machine learning solutions

Arrow left icon
Product type Paperback
Published in Aug 2018
Publisher
ISBN-13 9781789804744
Length 334 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Alex Galea Alex Galea
Author Profile Icon Alex Galea
Alex Galea
Luis Capelo Luis Capelo
Author Profile Icon Luis Capelo
Luis Capelo
Arrow right icon
View More author details
Toc

Training Classification Models

As we've already seen in the previous chapter, using libraries such as scikit-learn and platforms such as Jupyter, predictive models can be trained in just a few lines of code. This is possible by abstracting away the difficult computations involved with optimizing model parameters. In other words, we deal with a black box where the internal operations are hidden instead. With this simplicity also comes the danger of misusing algorithms, for example, by overfitting during training or failing to properly test on unseen data. We'll show how to avoid these pitfalls while training classification models and produce trustworthy results with the use of k-fold cross-validation and validation curves.

Introduction to Classification Algorithms

...
You have been reading a chapter from
Applied Deep Learning with Python
Published in: Aug 2018
Publisher:
ISBN-13: 9781789804744
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
Banner background image