Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Regression
Weights
Decision Surface
Generalization
Features
Training Data
Testing Data
Activation function
Threshold and Bias
Activation functions
f ( net )
2
1 e
( net )
1 bipolar continuous
1, net 0
f ( net ) sgn( net )
bipolar bina
1, net 0
f ( net )
1
1 e
( net )
unipolar continuous
1, net 0
f ( net ) sgn( net )
unipolar bin
0 , net 0
a=logsig(n) = 1 / (1 + exp(-n))
1
0.8
0.6
n = -5:0.1:5;
a = logsig(n);
plot(n,a)
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
-5
-4
-3
-2
-1
1
0.9
0.8
a = tansig(n) = 2/(1+exp(-2*n))-1
0.7
0.6
0.5
n = -5:0.1:5;
a = tansig(n);
plot(n,a)
0.4
0.3
0.2
0.1
0
-5
-4
-3
-2
-1
Generalization in Classification
Perceptron Learning
x1
w1=[1 -1 0 .5];
Net1=net1=[1 -1 0 .5]*[1 -2 0 -1]'=2.5
x2
w2=w1+.1*(-1-1)*x1
w2 =[ 0.8000 -0.6000
0.7000]
x3
net2=w2*x2'= -1.6000
x4
w3=w2
net3=w2*x3'=-2.1
w4=w2+.1*(1--1)*x3=[0.6000 -0.4000
0.1000
0.5000]
0.1000
0.7000];
net4=w4*x1'=0.9
w5=w4+.1*(-1-1)*x1=[0.4000
net6=w5*x3'=-1.05
0.0000
w1
w2
w3
w4