Stratified cross-validation for multi-label data sets

版本 1.0.1 (2.1 KB) 作者: Jan Motl
Greedily assign samples into folds based on their labels
61.0 次下载
更新时间 2019/10/29

查看许可证

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.

引用格式

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. 检索来源 .

MATLAB 版本兼容性
创建方式 R2018a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.1

Update title text

1.0.0