Hierarchical Partitioning of the Output Space in Multi-label Data