Search icon
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
Deep Learning for Beginners

You're reading from  Deep Learning for Beginners

Product type Book
Published in Sep 2020
Publisher Packt
ISBN-13 9781838640859
Pages 432 pages
Edition 1st Edition
Languages
Author (1):
Dr. Pablo Rivas Dr. Pablo Rivas
Profile icon Dr. Pablo Rivas

Table of Contents (20) Chapters

Preface 1. Section 1: Getting Up to Speed
2. Introduction to Machine Learning 3. Setup and Introduction to Deep Learning Frameworks 4. Preparing Data 5. Learning from Data 6. Training a Single Neuron 7. Training Multiple Layers of Neurons 8. Section 2: Unsupervised Deep Learning
9. Autoencoders 10. Deep Autoencoders 11. Variational Autoencoders 12. Restricted Boltzmann Machines 13. Section 3: Supervised Deep Learning
14. Deep and Wide Neural Networks 15. Convolutional Neural Networks 16. Recurrent Neural Networks 17. Generative Adversarial Networks 18. Final Remarks on the Future of Deep Learning 19. Other Books You May Enjoy

Pooling strategies

You will usually find pooling accompanying convolutional layers. Pooling is an idea that is intended to reduce the number of computations by reducing the dimensionality of the problem. We have a few pooling strategies available to us in Keras, but the most important and popular ones are the following two:

  • AveragePooling2D
  • MaxPooling2D

These also exist for other dimensions, such as 1D. However, in order to understand pooling, we can simply look at the example in the following diagram:

Figure 12.4 - Max pooling example in 2D

In the diagram, you can observe how max pooling would look at individual 2x2 squares moving two spaces at a time, which leads to a 2x2 result. The whole point of pooling is to find a smaller summary of the data in question. When it comes to neural networks, we often look at neurons that are excited the most, and so it makes sense to look at the maximum values as good representatives of larger portions of data. However, remember that you can also...

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}