How to add images from datastore into matrix or table for SVM classification?

3 ビュー (過去 30 日間)
Nikhat Ali
Nikhat Ali 2021 年 8 月 16 日
回答済み: Krishna Sutar 2021 年 8 月 16 日
I have three folders of image which I am using for multiclass classification using SVM, I made my training and test sets using splitEachLabel function, now I want to train my model using SVM classifier. I need to form a matrix for all the images, so that I can perform classification. Need help with it, slightly confused how to proceed. At first I am not doing any feature extraction, I am directly performing classification

採用された回答

Krishna Sutar
Krishna Sutar 2021 年 8 月 16 日
Please refer to imageDatastore documentation to understand its functions, properties, and for importing and processing the data using Object functions.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by