Professional Documents
Culture Documents
AI: Intelligence
demonstrated by
machines
x1
1 1 1.5 0
t
x2
8
1
Sl. x1 x2 y
No
7 linearly separable
w
1 0.7 0.7 0
2 0.8 0.9 1 0 1 2
x1
3 0.8 0.25 0
4 1.2 0.8 1 x1 x1
1 1
5 0.6 0.4 0
6 1.3 0.5 1 y x2 1 y
1 =1.5
x2
7 0.9 0.5 0 -1.5
1
8 0.9 1.1 1
wt x b 0 w 1 b 1.5 b
1 0
x1= float(input("Enter x1: "))
x=input('x='); x2= float(input("Enter x2: "))
sum=x(1)+x(2); sum=x1+x2
if sum>=1.5 if sum >= 1.5:
out=1;
else out=0; out = 1
end else:
if out==1 out = 0
disp('diseased')
else if out == 1:
disp('no disease') print("disease")
end else:
print("no disease")
x=[.6 .7]
x2
Decision Boundary
x1
x2
x1
5. One should never lose sight of how crude the approximations are, and
howAnns are more accurately
over-simplified our ANNs are described
comparedasto a class
real of parallel algorithms.
brains.
A neural network consists of four main parts:
1. Processing units
2. Weighted interconnections between the various processing units.
3. An activation rule which acts on the set of input signals at a unit to
produce a new output signal, or activation.
4. Optionally, a learning rule that specifies how to adjust the weights for
a given input/output pair.
Definitions
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