Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Hands-On Machine Learning on Google Cloud Platform

You're reading from  Hands-On Machine Learning on Google Cloud Platform

Product type Book
Published in Apr 2018
Publisher Packt
ISBN-13 9781788393485
Pages 500 pages
Edition 1st Edition
Languages
Authors (3):
Giuseppe Ciaburro Giuseppe Ciaburro
Profile icon Giuseppe Ciaburro
V Kishore Ayyadevara V Kishore Ayyadevara
Profile icon V Kishore Ayyadevara
Alexis Perrier Alexis Perrier
Profile icon Alexis Perrier
View More author details

Table of Contents (18) Chapters

Preface 1. Introducing the Google Cloud Platform 2. Google Compute Engine 3. Google Cloud Storage 4. Querying Your Data with BigQuery 5. Transforming Your Data 6. Essential Machine Learning 7. Google Machine Learning APIs 8. Creating ML Applications with Firebase 9. Neural Networks with TensorFlow and Keras 10. Evaluating Results with TensorBoard 11. Optimizing the Model through Hyperparameter Tuning 12. Preventing Overfitting with Regularization 13. Beyond Feedforward Networks – CNN and RNN 14. Time Series with LSTMs 15. Reinforcement Learning 16. Generative Neural Networks 17. Chatbots

Intuition of over/under fitting

Before we understand about how the preceding techniques are useful, let's build a scenario, so that we understand the phenomenon of overfitting.

Scenario 1: A case of not generalizing on an unseen dataset

In this scenario, we will create a dataset, for which there is a clear linearly separable mapping between input and output. For example, whenever the independent variables are positive, the output is [1,0], and when the input variables are negative, the output is [0,1]:

To that dataset, we will add a small amount of noise (10% of the preceding dataset created) by adding some data points that follow the opposite of the preceding pattern, that is, when the input variables are positive, the output is [0,1], and the output is [1,0] when the input variables are negative:

Appending the datasets obtained by the preceding two steps gives us the...

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 $15.99/month. Cancel anytime}