MATLAB Answers

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

1 view (last 30 days)
Nikhat Ali
Nikhat Ali on 16 Aug 2021
Answered: Krishna Sutar on 16 Aug 2021
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)

Community Treasure Hunt

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

Start Hunting!