ANN LVQ Network Structure 1.
[W,b] = ann_LVQ1(P,N2) [W,b] = ann_LVQ1(P,N2,lr,itermax)
Training input
Target Classes
Number of neurons in competition layer (Number of subclasses)
Learning rate
Maximum epoch for training
weights for the network
This function perform LVQ training algorithm.
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) | ![]() | ![]() |