Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Hands-On Neural Networks with Keras

You're reading from  Hands-On Neural Networks with Keras

Product type Book
Published in Mar 2019
Publisher Packt
ISBN-13 9781789536089
Pages 462 pages
Edition 1st Edition
Languages
Author (1):
Niloy Purkait Niloy Purkait
Profile icon Niloy Purkait

Table of Contents (16) Chapters

Preface Section 1: Fundamentals of Neural Networks
Overview of Neural Networks A Deeper Dive into Neural Networks Signal Processing - Data Analysis with Neural Networks Section 2: Advanced Neural Network Architectures
Convolutional Neural Networks Recurrent Neural Networks Long Short-Term Memory Networks Reinforcement Learning with Deep Q-Networks Section 3: Hybrid Model Architecture
Autoencoders Generative Networks Section 4: Road Ahead
Contemplating Present and Future Developments Other Books You May Enjoy

Visualizing the latent space

Since we have a two-dimensional latent space, we can simply plot out the representations as a 2D manifold where encoded instances of each digit class may be visualized with respect to their proximity to other instances. This allows us to inspect the continuous latent space that we spoke of before and see how the network relates to different features in the 10-digit classes (0 to 9) to each other. To do this, we revisit the encoding module from our VAE, which can now be used to produce a compressed latent space from some given data. Thus, we use the encoder module to make predictions on the test set, thereby encoding these images the latent space. Finally, we can use a scatterplot from Matplotlib to plot out the latent representation. Do note that each individual point represents an encoded instance from the test set. The colors denote the different...

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}