<< ann_ADALINE_run Neural_Network_Functions ann_COMPET_run >>

NeuralNet >> Neural_Network_Functions > ann_COMPET

ann_COMPET

ANN Competitive Network.

Calling Sequence

[W,b] =  ann_Compete(P,N)
[W,b] =  ann_Compete(P,N,lr,lr_c,itermax)

Parameters

P :

Training input

N :

Number of neurons in competition layer (Number of classes)

lr :

Learning rate

lr_c :

Learning Rate for bias (Conscience learning rate)

itermax :

Maximum epoch for training

W :

Output Weight

b :

Output bias

Description

Competitive network training algorithm.

Examples

x = rand(2,10);
x(:,1:5) = x(:,1:5) + 1;
plot(x(1,:),x(2,:),'.');
[W,b] =  ann_COMPET(x,4);close;
plot(W(:,1), W(:,2), 'or');

See also

Authors


Report an issue
<< ann_ADALINE_run Neural_Network_Functions ann_COMPET_run >>