• No products in the cart.

203.5.6 Neural Network Intuition

Neural network at a glance.

In previous section, we studied about  Implementing Intermediate outputs in R

Before going further into neural network algorithm, we need to understand and break down how the algorithm is working.

Neural Network Intuition

Final Output

(y = out(h) = g(sum W_j h_j))

(h_j = out(x) = g(sum w_(jk)x_k))

(y = out(h) = g(sum W_j g(sum w_(jk) x_k)))

  • So h is a non linear function of linear combination of inputs – A multiple logistic regression line
  • Y is a non linear function of linear combination of outputs of logistic regressions
  • Y is a non linear function of linear combination of non linear functions of linear combination of inputs

We find W to minimize \(\sum_{i=1}^n [y_i – g(\sum W_j h_j)]^2\) We find \({W_j}\) and \({w_(jk)}\) to minimize \(\sum_{i=1}^n [y_i – g(\sum W_j g(\sum w_(jk) x_k))]^2\) Neural networks is all about finding the sets of weights \({W_j}\) and \({w_(jk)}\) using Gradient Descent Method.

The Neural Networks

  • The neural networks methodology is similar to the intermediate output method explained above.
  • But we will not manually subset the data to crate the different models.
  • The neural network technique automatically takes care of all the intermediate outputs using hidden layers
  • It works very well for the data with non-linear decision boundaries
  • The intermediate output layer in the network is known as hidden layer
  • In Simple terms, neural networks are multi layer nonlinear regression model.
  • If we have sufficient number of hidden layers, then we can estimate any complex non-linear function

Neural Network and Vocabulary

Why are they called hidden layers?

  • A hidden layer “hides” the desired output.
  • Instead of predicting the actual output using a single model, build multiple models to predict intermediate output.
  • There is no standard way of deciding the number of hidden layers.

Algorithm for Finding Weights

  • Algorithm is all about finding the weights/coefficients
  • We randomly initialize some weights; Calculate the output by supplying training input; If there is an error the weights are adjusted to reduce this error.

The next post is The Neural Network Algorithm.

DV Analytics

DV Data & Analytics is a leading data science,  Cyber Security training and consulting firm, led by industry experts. We are aiming to train and prepare resources to acquire the most in-demand data science job opportunities in India and abroad.

Bangalore Center

DV Data & Analytics Bangalore Private Limited
#52, 2nd Floor:
Malleshpalya Maruthinagar Bengaluru.
Bangalore 560075
India
(+91) 9019 030 033 (+91) 8095 881 188
Email: info@dvanalyticsmds.com

Bhubneshwar Center

DV Data & Analytics Private Limited Bhubaneswar
Plot No A/7 :
Adjacent to Maharaja Cine Complex, Bhoinagar, Acharya Vihar
Bhubaneswar 751022
(+91) 8095 881 188 (+91) 8249 430 414
Email: info@dvanalyticsmds.com

top
© 2020. All Rights Reserved.