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
Hands-On Machine Learning on Google Cloud Platform

You're reading from   Hands-On Machine Learning on Google Cloud Platform Implementing smart and efficient analytics using Cloud ML Engine

Arrow left icon
Product type Paperback
Published in Apr 2018
Publisher Packt
ISBN-13 9781788393485
Length 500 pages
Edition 1st Edition
Arrow right icon
Authors (3):
Arrow left icon
Alexis Perrier Alexis Perrier
Author Profile Icon Alexis Perrier
Alexis Perrier
V Kishore Ayyadevara V Kishore Ayyadevara
Author Profile Icon V Kishore Ayyadevara
V Kishore Ayyadevara
Giuseppe Ciaburro Giuseppe Ciaburro
Author Profile Icon Giuseppe Ciaburro
Giuseppe Ciaburro
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Introducing the Google Cloud Platform 2. Google Compute Engine FREE CHAPTER 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

Preventing Overfitting with Regularization

So far, in the previous chapters, we understood about building neural network, evaluating the TensorBoard results, and varying the hyperparameters of the neural network model to improve the accuracy of the model.

While the hyperparameters in general help with improving the accuracy of model, certain configuration of hyperparameters results in the model overfitting to the training data, while not generalizing for testing data is the problem of overfitting to the training data.

A key parameter that can help us in avoiding overfitting while generalizing on an unseen dataset is the regularization technique. Some of the key regularization techniques are as follows:

  • L2 regularization
  • L1 regularization
  • Dropout
  • Scaling
  • Batch normalization
  • Weight initialization

In this chapter, we will go through the following:

  • Intuition of over/under fitting...
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 €18.99/month. Cancel anytime