ANNs essentially associate input patterns with output patterns. The inputs could be the raw stock market data, since this is the material that technical analysts use to predict movements in the market. The outputs could be any one of several things. For instance, given inputs representing the share prices on day 1, day 2 and day 3, the output might be a prediction of the share prices on day 4 (or possibly even on days 4 and 5). Alternatively, the outputs might be simple “buy” and “sell” signals for shares in particular companies.
The advantage of ANNs is that they are flexible. They will, if correctly trained, learn to classify any pattern in the training library correctly: if they are given a pattern on which they have been previously trained, they will produce the correct output. However, they will also produce the correct output if they are given a pattern similar to one they have seen during training. They will therefore classify patterns that they have never seen before, based on the closest matching training pattern.
Whereas conventional computer programs are written specifically and involve specific rules given by the human programmer, ANNs are trained by example. They learn to associate patterns on their inputs with corresponding patterns on their outputs. Training the neural net involves giving it a sample from the library of known input patterns and the corresponding desired output. Then the neural network is told to adapt its connections. This is repeated with other input-output pattern pairs. Typically, the set of input-output pairs used for training the net has to be presented repeatedly many times, and so neural networks can often take several hours to train. Once the neural network has been trained, you can present an input pattern to it and it will produce the corresponding output pattern.
How do neural networks work?
Whereas conventional computer programs are written specifically and involve specific rules given by the human programmer, ANNs are trained by example. They learn to associate patterns on their inputs with corresponding patterns on their outputs. Training the neural net involves giving it a sample from the library of known input patterns and the corresponding desired output. Then the neural network is told to adapt its connections. This is repeated with other input-output pattern pairs. Typically, the set of input-output pairs used for training the net has to be presented repeatedly many times, and so neural networks can often take several hours to train. Once the neural network has been trained, you can present an input pattern to it and it will produce the corresponding output pattern.
Neural Network Architectures
An ANN consists of a number of neurons simulated in a computer with connections between them. Each of these connections has a certain strength, or “weight”, indicating how strong the connection is. A connection with a large weight is efficient at passing on a signal from one neuron to another. The information and expertise that ANNs possess is coded in these strengths between neurons.
Simulated neurons can be connected in various patterns, termed “architectures”. Although complex architectures exist (for instance in Cell Assemblies, which model closely structures in the human brain), the simplest architecture, the Multi-Layer Perceptron, is probably the most common. An MLP consists of neurons in distinct layers, each of which is connected to the next layer along. Signals can pass only one way through the MLP, from the inputs of the first layer to the outputs of the last one.
What are Neural Networks?
Artificial Neural Networks (ANN) are simulations on a computer of groups of brain cells (neurons) configured in such a way that they perform a useful task. They are inspired by real neurons, which are simple switching elements – they gather electrochemical energy from their inputs, then either pass it on or block it. This means that individual neurons have little more intelligence than a light switch, and yet, but putting countless trillions of these cells together and setting up the correct connections between them, we get human intelligence and even (in a process that scientists haven’t even begun to understand) consciousness!