how to preprocess dataset in neural network toolbox
4 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
Greg Heath
on 4 Mar 2012
[ 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 Comments
Greg Heath
on 7 Mar 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.
More Answers (0)
See Also
Categories
Find more on Biotech and Pharmaceutical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!