dlordinal: a Python package for deep ordinal classification

F. Bérchez-Moreno, V. Vargas , R. Ayllón-Gavilán, D. Guijo-Rubio, C. Hervás-Martínez, J. Fernández, P. Gutiérrez

Neurocomputing, Vol. 622, pp. 1-19, 2025 Indexed in JCR. Impact factor: 5.5, Position: 42/197 (Q1) in COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE

Abstract

dlordinal is a new Python library that unifies many recent deep ordinal classification methodologies available in the literature. Developed using PyTorch as underlying framework, it implements the top performing state-of-the-art deep learning techniques for ordinal classification problems. Ordinal approaches are designed to leverage the ordering information present in the target variable. Specifically, it includes loss functions, various output layers, dropout techniques, soft labelling methodologies, and other classification strategies, all of which are appropriately designed to incorporate the ordinal information. Furthermore, as the performance metrics to assess novel proposals in ordinal classification depend on the distance between target and predicted classes in the ordinal scale, suitable ordinal evaluation metrics are also included. dlordinal is distributed under the BSD-3-Clause license and is available at https://github.com/ayrna/dlordinal.

Cite this publication
BibTex
@article{berchez-moreno2025dlordinal:,
    author = {Francisco Bérchez-Moreno and Víctor Manuel Vargas and Rafael Ayllón-Gavilán and David Guijo-Rubio and César Hervás-Martínez and Juan Carlos Fernández and Pedro Antonio Gutiérrez},
    title = {dlordinal: a Python package for deep ordinal classification},
    journal = {Neurocomputing},
    year = {2025},
    volume = {622},
    number = {0},
    pages = {1--19},
    doi = {10.1016/j.neucom.2024.129305}
}
APA
Bérchez-Moreno, F., Vargas, V., Ayllón-Gavilán, R., Guijo-Rubio, D., Hervás-Martínez, C., Fernández, J., Gutiérrez, P. (2025). dlordinal: a Python package for deep ordinal classification. Neurocomputing, 622(0), 1-19.
CV
F. Bérchez-Moreno, V.M. Vargas (CA), R. Ayllón-Gavilán, D. Guijo-Rubio, C. Hervás-Martínez, J.C. Fernández, P.A. Gutiérrez, (2/7) "dlordinal: a Python package for deep ordinal classification", Neurocomputing, Vol. 622(0), pp. 1-19, 2025. (Q1, IF: 5.5)
RIS
TY  - JOUR
T1  - dlordinal: a Python package for deep ordinal classification
AU  - Bérchez-Moreno, Francisco
AU  - Vargas, Víctor Manuel
AU  - Ayllón-Gavilán, Rafael
AU  - Guijo-Rubio, David
AU  - Hervás-Martínez, César
AU  - Fernández, Juan Carlos
AU  - Gutiérrez, Pedro Antonio
JO  - Neurocomputing
VL  - 622
IS  - 0
SP  - 1
EP  - 19
PY  - 2025
DO  - 10.1016/j.neucom.2024.129305
ER  -