Professional Documents
Culture Documents
MATLAB block
Activation function
0
Networks of McCulloch-Pitts Neurons
Perceptron
Implementation of Logical NOT, AND, and OR Gates using
perceptron
Finding Weights Analytically
XOR Gate
Homework
Is it possible to realize the following truth table
using perceptron or not? If yes, realize it
Perceptron
x1
w1
1 w1
slope =
y w2
2 w2
w2
0 2
x2
W1=1, w2=2, 2
Learning and Generalization
Classification: The ability to assign an input observation to a
category
Learning is a relatively permanent change in behaviour brought
about by experience.
Learning The network must learn decision surfaces from a set of
training patterns so that these training patterns are classified
correctly.
Generalization After training, the network must also be able to
generalize, i.e.correctly classify test patterns it has never seen
before.
Usually we want our neural networks to learn well, and also to
generalize well.
Sometimes, the training data may contain errors (e.g. noise in the
experimental determination of the input values, or incorrect
classifications). In this case, learning the training data perfectly
may make the generalization worse. There is an important tradeoff
between learning and generalization that arises quite generally.
Blue lines show the decision boundaries of two neural networks to solve a
two class classification problem. Which is a better neural network?
x2
2 1
x1
Generalization in Classification
Generalization in Function Approximation
Training a Neural Network