how to convert categorical to numerical ?
3 views (last 30 days)
Show older comments
I havae a CSV file(246 X 1) that has categorical data(names of different arrhythmia). I would like to use neural network toolbox to train the model. How can I convert this categorical data into numerical data and train the model?
0 Comments
Answers (1)
KSSV
on 13 Mar 2018
Check the below pseudo code......you can get it done with ease using unique.
load fisheriris.mat ;
[c,ia,ib] = unique(species) ;
iwant = ib ;
0 Comments
See Also
Categories
Find more on Pattern Recognition and Classification 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!