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
Neural Network Programming with TensorFlow

You're reading from   Neural Network Programming with TensorFlow Unleash the power of TensorFlow to train efficient neural networks

Arrow left icon
Product type Paperback
Published in Nov 2017
Publisher Packt
ISBN-13 9781788390392
Length 274 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Manpreet Singh Ghotra Manpreet Singh Ghotra
Author Profile Icon Manpreet Singh Ghotra
Manpreet Singh Ghotra
Rajdeep Dua Rajdeep Dua
Author Profile Icon Rajdeep Dua
Rajdeep Dua
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Maths for Neural Networks FREE CHAPTER 2. Deep Feedforward Networks 3. Optimization for Neural Networks 4. Convolutional Neural Networks 5. Recurrent Neural Networks 6. Generative Models 7. Deep Belief Networking 8. Autoencoders 9. Research in Neural Networks 10. Getting started with TensorFlow

Additive Gaussian Noise autoencoder


What are Denoising autoencoders? They are very similar to the basic model we saw in previous sections, the difference is that, the input is corrupted before being passed to the network. By matching the original version (not the corrupted one) with the reconstruction at training time, this autoencoder gets trained to reconstruct the original input image from the corrupted image.  The ability to reconstruct original image from corrupted image makes autoencoder very smart.

An additive noise autoencoder uses the following equation to add corruption to incoming data:

xcorr = x + scale*random_normal(n)

The following is the detail describe about the preceding equation:

  • x is the original image
  • scale is the multiplier for a random normal number generated from n
  • n is the number of training samples
  • xcorr is the corrupted output

Autoencoder class

We initialize the autoencoder defined in class AdditiveGaussianNoiseAutoEncoder by passing following parameters:

  • num_input: Number...
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 $19.99/month. Cancel anytime