How can I import dataset to Classification Learner App?

I'am using R2015b and when I try to import my dataset with new session button I can't see it at workspace list. Also I can't see cell arrays, uint8 or uint16 variables. I built my data set with following code:
chart=['X'; 'Y'; 'R'; 'G'; 'B'];
chart=cellstr(chart);
massDataset=dataset({massData2,chart{:}}, categorical(label));
At this code size of massData2 is 10000x5 double, with this code I add a 10000x1 categorical label column into it. massData2 consists of an indexed images RGB values and its X,Y positions. My purpose is plot an SVM respect to X and Y axis and each R,G and B values considered as predict data, also label as response. It can't be sufficiant for classify for an image but I have to do this. So, how can I import my data?

 Réponse acceptée

Use a table instead of a dataset. Then the app will automatically understand it.
doc datset2table
doc table

3 commentaires

It works. Thank you.
plz tell me how to import classification learner app on matlab 2014b ? i have installed this tool but not include on matlab app. plz tell me awaiting ur reply as soon as.... email:areebairfan2015@gmail.com
Upgrade to a newer release that has the app.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by