how to preprocess dataset in neural network toolbox

hi, i am new to MATLAB and i want to preprocess cancer dataset so that it can be in the range [0,1]. i obtain that dataset from <http://mldata.org/repository/search/?searchterm=cancer&data=on&task=on&method=on&challenge=on> can any one please help me. thank you regards, Punam

 Réponse acceptée

Greg Heath
Greg Heath le 4 Mar 2012

0 votes

[ I N ] = size(p)
minp = repmat(min(p,[],2),1,N);
maxp = repmat(max(p,[],2)',1,N);
pn = (p-minp)./(maxp-minp);
Hope this helps.
Greg

2 commentaires

Punam
Punam le 6 Mar 2012
hello greg
thanks again
i am using radial baisis function for training and esing of cancer data set. when i am using confusion matrix, it is giving wrong answers.
will u plz tell me how to plot graph for percentage accuracy.
thanks again.
Sorry. Have not used the newer version of newrb yet. Can you be more specific w.r.t. to what you wanted, what you did, and why you think it is wrong.
Greg
PS if you include code make sure it is well commented and wil run when cut and pasted into the command line.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Biotech and Pharmaceutical dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by