This method partitions the given dataset into k folds using a stratified strategy, providing training and test partitions for each fold.
Implementation of the algorithm defined in:
Charte, F., Rivera, A., del Jesus, M. J., & Herrera, F. (2016, April). On the
impact of dataset complexity and sampling strategy in multilabel classifiers
performance. In International Conference on Hybrid Artificial Intelligence
Systems (pp. 500-511). Springer, Cham.