How to use the classification learner app?

조회 수: 30 (최근 30일)
Susan
Susan 2020년 9월 14일
댓글: Ruben 2023년 5월 9일
Hi Guys,
I am working on a classification problem and not quite sure how I can use the classification learner app.
First of all, when I open the app and try to select the data from the workspace, the only data that shows up is the number of output classifiers which is 2:20.
For training data, I have 30624 cells that each of this cell contains a 3*600 matrix/double and the output label for each cell is an integer from 2 to 20.
So, the training set is a 1*30624 cell and the training label is a 1*30624 categorical.
I have the validation and test data set in the same format as training data.
Could someone please tell me how I should classify my data using the classification learner app? Any information would be appreciated.

답변 (1개)

Ayush Gupta
Ayush Gupta 2020년 9월 18일
Type classification Learner in command line and classification learner app will open. Make sure to load the data in the workspace before opening the app. Select the variable as input and select the predictor and response variable. After that we can compare what all models we can use, and which will be better to use. Try to see the documentation on how to select from the various possible models we can use, here.
  댓글 수: 5
Ayush
Ayush 2023년 5월 9일
Hi,
The Classification Learner app in MATLAB requires a tabular data set as input, where each row represents an observation and each column represents a predictor variable. The last column of the data set should contain the response variable, which is the variable to be predicted. The response variable should be categorical, numeric, or logical.
Additionally, the data set should be in one of the following formats:
- MATLAB table
- Numeric matrix
- Dataset array
- Datastore
The input data set can be loaded into the app from a workspace variable or from a file in a supported format such as CSV, XLSX, or MAT.
Ruben
Ruben 2023년 5월 9일
@Ayush Thanks for rapid response,
I understand the kind of input requirements the Classification Learner has.
If you take a look at my original question "https://de.mathworks.com/matlabcentral/answers/1960204-how-can-i-import-a-cell-array-filled-with-tables-of-data-to-the-classification-learner-app" you might understand, what kind of solution I am looking for.
It would be nice if you could have a look at it, thank you!

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

카테고리

Help CenterFile Exchange에서 Classification Learner App에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by