This is a simple deep learning method. Unlike regression, it is a nonlinear classifier - that is - it can classify data that is linearly inseparable.

Activation Function

This is a function that maps weighted inputs into the outputs of each neuron, in effect, squishing the real number line. Commonly, a logistic function is used. Other scaling functions, such as the hyperbolic tangent function, can be used.

Training

The neural network uses backpropagation to train the model. Gradient descent is typically used to minimise the cost function at a given layer, calculated as the deviance in the accuracy of the current value of each neuron. The least squares method is commonly used here, such that: In practice, this is often power inefficient, so an alternative - stochastic gradient descent - where a random sample is used to calculate the ‘next move’, is often used.