How to split an image datastore for cross-validation?
Show older comments
Hello,
The method
splitEachLabel
of an
imageDatastore
object splits an image data store into proportions per category label. How can one split an image data store for training using cross-validation and using the
trainImageCategoryCalssifier
class?
I.e. it's easy to split it in N partitions, but then some sort of mergeEachLabel functionality is needed to be able to train a classifier using cross-validation. Or is there another way of achieving that?
Regards, Elena
2 Comments
kowshik Thopalli
on 26 Feb 2017
I am looking for an answer to a similar problem. Did you solve it?
Tripoli Settou
on 19 Apr 2018
I am also looking for an answer to a similar problem. Did you solve it?
Accepted Answer
More Answers (0)
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!