Stratified cross-validation for multi-label data sets

Version 1.0.1 (2,07 KB) von Jan Motl
Greedily assign samples into folds based on their labels
71 Downloads
Aktualisiert 29. Okt 2019

Lizenz anzeigen

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.

Zitieren als

Jan Motl (2025). Stratified cross-validation for multi-label data sets (https://de.mathworks.com/matlabcentral/fileexchange/73003-stratified-cross-validation-for-multi-label-data-sets), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2018a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.1

Update title text

1.0.0