mlxtend
mlxtend copied to clipboard
Stratified permutation / bootstrap tests
When it's important: Classification problem, when function is a desired classification metric. When applying to highly imbalanced problem, simple permutation will not preserve desired class ratios.
Thanks for the suggestion, having a stratified bootstrap option could indeed be useful.