Can classifier learner app, take input for each samples as a matrix?

6 ビュー (過去 30 日間)
krishna Chauhan
krishna Chauhan 2022 年 1 月 21 日
回答済み: Omega 2025 年 5 月 13 日
Hi there
I know How to use MATLAB classifer learner app. Now I have modified my data in sucha way that, each sample is transformed as 10XF where F is the number of features of predictors as said in documentation. As svm or any classifier in this app take input as a matrix or table, where each data samples has single row in matrix, But my data is modified as above can I use classifier learner (SVM) app here?
Regards

回答 (1 件)

Omega
Omega 2025 年 5 月 13 日
Hi Krishna,
The MATLAB Classifier Learner app is designed to take input data where each sample is represented as a single row in a matrix or table. It does not support samples where each observation is itself a matrix (like 10xF per sample). Each sample must be a 1xN vector of features.
To use the Classifier Learner app, you would need to reshape or preprocess your data so that each sample is represented as a single row vector. For example, you could flatten each 10xF matrix into a 1x(10*F) vector. This way, each sample will have a single row in the input matrix, which the app can handle. Alternatively, you could also extract summary statistics (mean, standard deviation, etc.) from the 10xF matrix to get a fixed-length feature vector.
I hope it helps!

カテゴリ

Help Center および File ExchangeClassification についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by