Plz help me to to test an image using RBF ( radial basis function ) kernal function with Artificial Neural Network?????in matlab code

Tc=[1 1 1 1 2 2 2 2 2 2 2 2 2 ]; SPREAD=1; T=ind2vec(Tc); net=newrbe(P,T,SPREAD); A = sim(net,P); %Y=net(P); ANNresult = vec2ind(A);

Answers (1)

You haven't provided P
isequal( net(P), sim( net, P )) % 1
err = ANNRESULT~=Tc
Nerr = sum(err)
PctErr = 100*Nerr/N

2 Comments

what is PctErr.......please help me to correctly classify set of image using RBF..I have doubt in image testing
err = ANNRESULT~=Tc
Nerr = sum(err)
PctErr = 100*Nerr/N error disply when used this code

Sign in to comment.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Tags

No tags entered yet.

Asked:

on 13 Feb 2015

Commented:

on 18 Feb 2015

Community Treasure Hunt

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

Start Hunting!