Professional Documents
Culture Documents
5 0
An Example:
2 x1 x2 1.5 0
x1
8
1 1 1.5 0
t
1
x2
Sl. x1 x2 y
No
7 linearly separable
1 0.7 0.7 0 w
2 0.8 0.9 1 0 1 2
x1
3 0.8 0.25 0
4 1.2 0.8 1 x1
x1
5 0.6 0.4 0 1 1
6 1.3 0.5 1 y y
x2 1
1 =1.5
7 0.9 0.5 0 x2 -1.5
8 0.9 1.1 1 1
wt x b 0 w 1 b 1.5 b
1 0
x=input('x=');
sum=x(1)+x(2);
if sum>=1.5
out=1;
else out=0;
end
if out==1
disp('diseased')
else
disp('no disease')
end
x=[.6 .7]
Neural Networks
1. Neural Networks (NNs) are networks of neurons, for example, as found in
real (i.e. biological) brains.
Neural Networks are neural in the sense that they may have been inspired
by neuroscience but not necessarily because they are faithful models of
biologic neural or cognitive phenomena- Mohamad H Hasssoun
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