Auto Encoder

 

Auto - Encoder

Principal Component Analysis

Principal Component Analysis is uses to reduce the dimensions. PCA tries to find out important set of features to get the perfect decision boundary.

Auto Encoder also does the same but in terms of features. Also if the data is too complex Auto-encoder is preffered over PCA

                      
Auto-encoder takes raw data like image as input and creates a vector representation of it using real numbers.


What are the usual properties of the vector?

1. This should represent important features/attributes of the raw data with a numerical value. That is every element of this vector represents one or more significant attributes of raw data. These numbers are used to assign numbers to attributes 

2. It should be automatically created or generated by a neural network.
Neural Network can be simple Multi Layer Preceptron for simple data or Convolution Neural Network for image data or Recurrent Neural Network for audio data.

3. Auto - encoder vector also known as encoding should be an optimal representation.

4. Reconstruction of original data from the vector/encoding should be zero loss.


How To Create an Auto-Encoder?

We assume that there is a dataset variable Z that is generation X. 


Since there is a function generating X but we can only observe it, so we assume some function Z. 
As shown in the example below the graph shown, the wave is of sine function. 


Approximate Z assuming that the distribution is P(Z).



Optimize Encoder and Decoder by minimising the loss between the actual X and the predicted X, using Mean Square Error or Binary Classification.


Auto-Encoder:


                                                           

Comments

Popular posts from this blog

Supervised Learning(Part-5)

Supervised Learning(Part-2)

Convolutional Neural Networks(Part-2)