Neural Networks


title: Neural Networks

Neural Networks

Feed-forward neural network

An artificial neural network is a computing system based on biological neural networks that constitute animal brains. The most basic element of a neural network is a neuron. Its input is a vector, say x, and its output is a real valued variable, say y. The neuron acts as a mapping between the vector x and a real number y.
To train a neural network, we need an input vector and a corresponding output vector.
The training works by minimizing an error term. This error can be the squared difference between the predicted output and the original output.

The basic principle which underlies the remarkable success of neural networks is ‘The Universal Approximation Theorem’. It has been mathematically proven that the neural networks are universal approximation machines which are capable of approximating any mathematical function between the given input and output.

Neural networks initially became popular in the 1980s, but limitations in computational power prohibited their widespread acceptance until the past decade.
Innovations in CPU size and power allow for neural network implementation at scale, though other machine learning paradigms still outrank neural networks in terms of efficiency.

The most basic element of a neural network is a neuron. Its input is a vector, say x, and its output is a real valued variable, say y. Thus, we can conclude that the neuron acts as a mapping between the vector x and a real number y.

Neural networks perform regression iteratively across multiple layers, resulting in a more nuanced prediction model.
A single node in a neural network computes the exact same function as logistic regression.
All these layers, aside from the input and output, are hidden. That is, the specific traits represented by these layers are not chosen or modified by the programmer.

Four Layered Neural Network

In any given layer, each node takes all values stored in the previous layer as input and makes predictions on them based on a logistic regression analysis.
The power of neural networks lies in their ability to “discover” patterns and traits unseen by programmers.
As mentioned earlier, the middle layers are “hidden,” meaning the weights given to the transitions is determined exclusively by the training of the algorithm.

Neural networks are used on a variety of tasks. These can include but are not limited to: computer vision, speech recognition, translation, social network filtering, playing video games, and medical diagnosis.

Visualization

There’s an awesome tool to help you grasp the idea of neural networks without any hard math: TensorFlow Playground, a web app that lets you play with a real neural network running in your browser, click buttons and tweak parameters to see how it works.

Problems solved using Neural Networks

  • Classification
  • Clustering
  • Regression
  • Anomaly detection
  • Association rules
  • Reinforcement learning
  • Structured prediction
  • Feature engineering
  • Feature learning
  • Learning to rank
  • Grammar induction
  • Weather prediction
  • Generating images

Common Neural Network Systems

The most common Neural Networks used today fall into the deep learning category. Deep learning is the process of chaining multiple layers of neurons to allow a network to create increasingly abstract mappings between input and output vectors. Deep neural networks will most commonly use back propogation in order to converge upon the most accurate mapping.

The second most common form of neural networks is neuroevolution. In this system multiple neural networks are randomly generated as initial guesses. Then multiple generations of combining the accurate most networks and random permutations are used to converge upon a more accurate mapping.

Types of Neural Networks

  • Recurrent Neural Network (RNN)
  • Long-short Term Memory (LSTM), a type of RNN
  • Convolutional Neural Network (CNN)

More Information:

This article needs improvement. You can help improve this article. You can also write similar articles and help the community.