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?

 채택된 답변

Sean de Wolski
Sean de Wolski 2016년 4월 25일
Use a table instead of a dataset. Then the app will automatically understand it.
doc datset2table
doc table

댓글 수: 3

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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Get Started with Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

질문:

2016년 4월 25일

댓글:

2016년 11월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by