Effacer les filtres
Effacer les filtres

Split a dataset into many subsets of same size

1 vue (au cours des 30 derniers jours)
Patrice Gaofei
Patrice Gaofei le 20 Déc 2020
Hello everyone,
To the end of conducting different experiments with different subsets of the same dataset, I would like to divide my dataset into many subsets. Let us assume that I have 100 images in a folder, I would like to divide the 100 images into five susets of 20 images without repetition. Subsequently, four of the subsets will be combined and saved as training set and the other set as test set. I aim to perform this same experiment five times given that the the dataset will be divided into five distinct subsets. Please, how can this be implemented? Any suggestions and comments would be highly appreciated.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by