<< ann_FFBP_sim Neural_Network_Functions ann_LVQ_run >>

NeuralNet >> Neural_Network_Functions > ann_LVQ1

ann_LVQ1

ANN LVQ Network Structure 1.

Calling Sequence

[W,b] =  ann_LVQ1(P,N2)
[W,b] =  ann_LVQ1(P,N2,lr,itermax)

Parameters

P :

Training input

T :

Target Classes

N2 :

Number of neurons in competition layer (Number of subclasses)

lr :

Learning rate

itermax :

Maximum epoch for training

W :

weights for the network

Description

This function perform LVQ training algorithm.

Examples

x = rand(2,10);
x(:,1:5) = x(:,1:5) + 1;
T = [1 1 1 1 1 0 0 0 0 0;0 0 0 0 0 1 1 1 1 1]
[W,b] =  ann_LVQ1(x,T,4);
[y,classes] = ann_LVQ_run(W,x)

See also

Authors


Report an issue
<< ann_FFBP_sim Neural_Network_Functions ann_LVQ_run >>