Stratified cross-validation for multi-label data sets

Versione 1.0.1 (2,07 KB) da Jan Motl
Greedily assign samples into folds based on their labels
61 download
Aggiornato 29 ott 2019

Visualizza la licenza

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.

Cita come

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. Recuperato .

Compatibilità della release di MATLAB
Creato con R2018a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Statistics and Machine Learning Toolbox in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.1

Update title text

1.0.0