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

3 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Statistics 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