How to set target vector (with large data set) for neural network?
2 views (last 30 days)
Show older comments
How can I classify targets with a large set of data/values (37539840 x 1)? I have tried using the Neural Network but I am unable to set the target class using 1 and 0 given the large data/values.
Accepted Answer
Greg Heath
on 28 Mar 2014
Regardless of data values, use MAPSTD or ZSCORE and training data to normalize inputs.
For c classes, the target matrix should contain columns of the unit matrix eye(c). The relationship between integer class indices 1:c and target vectors are given by functions ind2vec and vec2ind.
You have so much data, you only need a small fraction of it to design a net, or even multiple nets.
Hope this helps.
Thank you for formally accepting my answer
Greg
0 Comments
More Answers (0)
See Also
Categories
Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!