フィルターのクリア

Split a dataset into many subsets of same size

1 回表示 (過去 30 日間)
Patrice Gaofei
Patrice Gaofei 2020 年 12 月 20 日
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.

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by