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

4 views (last 30 days)
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

Accepted Answer

Krishna Sutar
Krishna Sutar on 16 Aug 2021
Please refer to imageDatastore documentation to understand its functions, properties, and for importing and processing the data using Object functions.

More Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!