Stratified cross-validation for multi-label data sets
The algorithm partitions a binary multi-label Y into N folds. The returned vector assigns samples into the folds such way, that the same distribution of positive and negative samples of each label is approximately maintained across all folds.
The implementation can be used as a drop-in replacement for CVPARTITION.
Reference: On the Stratification of Multi-label Data by Sechidis, Konstantinos & Tsoumakas, Grigorios & Vlahavas, Ioannis.
Citar como
Jan Motl (2024). Stratified cross-validation for multi-label data sets (https://www.mathworks.com/matlabcentral/fileexchange/73003-stratified-cross-validation-for-multi-label-data-sets), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.