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

 Respuesta aceptada

Greg Heath
Greg Heath el 4 de Mzo. de 2012

0 votos

[ 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 comentarios

Punam
Punam el 6 de Mzo. de 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.
Greg Heath
Greg Heath el 7 de Mzo. de 2012
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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Biotech and Pharmaceutical en Centro de ayuda y File Exchange.

Preguntada:

el 27 de Feb. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by