HiClass: a Python Library for Local Hierarchical Classification Compatible with Scikit-learn

Authors: Fábio M. Miranda, Niklas Köhnecke, Bernhard Y. Renard; Publication Date: 24(29):1−17, 2023.

Abstract

HiClass is a Python library for local hierarchical classification that is fully compatible with scikit-learn. It provides implementations of common design patterns for hierarchical machine learning models, including local classifiers per node, per parent node, and per level. The library also includes hierarchical metrics specifically designed for evaluating classification performance on hierarchical data. The documentation provides detailed instructions for installation and usage, as well as examples in tutorials and interactive notebooks, and a comprehensive API description. HiClass is released under the simplified BSD license, making it suitable for both academic and commercial use. The source code and documentation can be found at https://github.com/scikit-learn-contrib/hiclass.

[abs]

[pdf][bib]
      
[code]