problems with training function LVQ

1 view (last 30 days)
ezra ezra
ezra ezra on 21 Mar 2012
Hi all, I need your help
image1=imread('img1.bmp');
image2=imread('img2.bmp');
image3=imread('img3.bmp');
P = [image1 image2 image3 ]
T = [[1;0;0] [0;1;0] [0;0;1] ]
net = newlvq(minmax(P),9,[.34 .33 .33]);
net.trainParam.epochs = 1000;
net.trainParam.goal=0.00001;
net = train(net,P,T)
when I run this code, I take this error : Error using -> minmax
please help me !
Thanks..

Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!