Neural Networks: - Genetic Algorithms - Genetic Programming - Behavior-Based Systems
Neural Networks: - Genetic Algorithms - Genetic Programming - Behavior-Based Systems
Artificial Neural
Network
• Neural Networks
• Genetic Algorithms
• Genetic Programming
• Behavior-Based Systems
Background
- Biological models
- Artificial models
Human Computer
Processing 100 Billion 10 Million
Elements neurons gates
Interconnects 1000 per A few
neuron
Cycles per sec 1000 500 Million
2X 200,000 2 Years
improvement Years
Brain vs. Digital Computers (2)
experiential knowledge.
What is
Artificial
Neural
Network?
Neurons vs. Units (1)
Chemistry,
biochemistry,
quantumness.
Computing Elements
A typical unit:
Planning in building a Neural Network
Input function:
Activation function g:
A Computing Unit.
Now in more detail but for a
particular model only
1) Step function
2) Sign function
3) Sigmoid function
- Arranged in layers.
H3 H5
I1
W35 = 1
W13 = -1 t = -0.5 t = 1.5
W57 = 1
I1
W25 = 1
O7 t = 0.5
W16 = 1
I2
W67 = 1
W24= -1 t = -0.5
t = 1.5
W46 = 1
H4 H6
-Can oscillate.
Recurrent Network (2)
• What is a bias?
• How can we learn the bias value?
• Its output is
– 1, if W1X1 + W2X2 >
– 0, otherwise
For example:
Majority function - will be covered in this lecture.
majority
Example of
3Dimensional space
Perceptrons & XOR
• XOR function
Bad news:
- There are not many linearly separable functions.
Good news:
- There is a perceptron algorithm that will learn
any linearly separable function, given enough
training examples.
Learning Linearly Separable Functions (2)
Here decision
tree is better
than
perceptron
• Braitenberg Vehicles
• Quantum Neural BV
Evaluation of a Feedforward NN using software is easy
Set bias input neuron