i am confused with RBF kernal based ANN classification. when i implemented, all images are missclasified.. T is class label , P is training image feature , P1 is testing image feature...Can any one correct my code please,...​..........​..........​.

%%%%%%%% RBF training %%%%%%%%%%%
Tc=[1 1 1 1 2 2 2 2 2 2 2 2 2 ];
SPREAD=1;
T=ind2vec(Tc);
net=newrbe(P,T,SPREAD);
%%%%% test data %%%%%%%%
P1= FF1;
Y= sim(net,P1);
ANNresult = vec2ind(Y);

 Accepted Answer

P and FF1 are undefined
>> net = newrbe(P,T,SPREAD);
Undefined function or variable 'P'.
>> P1= FF1;
Undefined function or variable 'FF1'.
Hope this helps.
Thank you for formally accepting my answer
Greg

3 Comments

Sir i already specified variable P and P1 in my program..P store training feature value ...P1 stored testing features.Sir I want code for how test the image...Sir please help me to correct implementation. In feature extraction step i stored features for training and testing in P and P1
If P and P1 are fixed, there is only one way to improve your performance:
Vary SPREAD
Otherwise, redivide P+P1 and try again.
Hope this helps.
Greg
again missclassified value obtained .... I input 13 test image.5 noncancer class and 9 cancer class..but only first image show non cancer and all remaining image show cancer at all time....it is a wrong classification sir....What i will do sirrr?????

Sign in to comment.

More Answers (0)

Categories

Find more on Biotech and Pharmaceutical in Help Center and File Exchange

Tags

No tags entered yet.

Asked:

on 18 Feb 2015

Commented:

on 23 Feb 2015

Community Treasure Hunt

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

Start Hunting!