Metadata-Version: 2.1
Name: dlordinal
Version: 1.0.0
Summary: Deep learning for ordinal classification
Author-email: Francisco Bérchez-Moreno <i72bemof@uco.es>, Víctor Manuel Vargas <vvargas@uco.es>, Javier Barbero-Gómez <jbarbero@uco.es>
Project-URL: Source, https://github.com/ayrna/dlordinal
Project-URL: Documentation, https://dlordinal.readthedocs.io/en/latest/
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: scikit-learn ==1.*
Requires-Dist: numpy ==1.*,>=1.21
Requires-Dist: torch ==2.*
Requires-Dist: torchvision >=0.13
Requires-Dist: pandas >=1
Requires-Dist: scipy >=1.7
Requires-Dist: matplotlib >=3.1
Requires-Dist: seaborn >=0.12
Requires-Dist: scikit-image >=0.18
Requires-Dist: tqdm >=4
Requires-Dist: Pillow >=8
Provides-Extra: dev
Requires-Dist: pytest ; extra == 'dev'
Requires-Dist: pre-commit ; extra == 'dev'
Provides-Extra: docs
Requires-Dist: sphinx ; extra == 'docs'
Requires-Dist: sphinxcontrib-bibtex ; extra == 'docs'
Requires-Dist: sphinx-rtd-theme ; extra == 'docs'

# Deep learning utilities library

`dlordinal` is an open-source Python toolkit focused on deep learning with ordinal methodologies. It is compatible with
[scikit-learn](https://scikit-learn.org).

The library includes various modules such as loss functions, models, layers, metrics, and an estimator.

| Overview  |                                                                                                                                          |
|-----------|------------------------------------------------------------------------------------------------------------------------------------------|
| **CI/CD** | [![!codecov](https://img.shields.io/codecov/c/github/ayrna/dlordinal?label=codecov&logo=codecov)](https://codecov.io/gh/ayrna/dlordinal) [![!docs](https://readthedocs.org/projects/dlordinal/badge/?version=latest&style=flat)](https://dlordinal.readthedocs.io/en/latest/)  [![!python](https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue)](https://www.python.org/) |
| **Code**  | [![![binder]](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/ayrna/dlordinal/main?filepath=tutorials) [![!black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![Linter: Ruff](https://img.shields.io/badge/Linter-Ruff-brightgreen?style=flat-square)](https://github.com/charliermarsh/ruff)                     |

## ⚙️ Installation

You can install **dlordinal** directly from the GitHub repository using the following command in your terminal:

    pip install git+https://github.com/ayrna/dlordinal.git@main

Also, you can clone the repository and then install the library from the local repository folder:

    git clone git@github.com:ayrna/dlordinal.git
    pip install ./dlordinal

## Collaborating

Code contributions to the dlordinal project are welcomed via pull requests.
Please, contact the maintainers (maybe opening an issue) before doing any work to make sure that your contributions align with the project.

### Guidelines for code contributions

* In order to set up the environment for development, install the project in editable mode and include the optional dev requirements:
```bash
pip install -e '.[dev]'
```
* Install the pre-commit hooks before starting to make any modifications:
```bash
pre-commit install
```
* Write code that is compatible with all supported versions of Python listed in the `pyproject.toml` file.
* Create tests that cover the common cases and the corner cases of the code.
* Preserve backwards-compatibility whenever possible, and make clear if something must change.
* Document any portions of the code that might be less clear to others, especially to new developers.
* Write API documentation as docstrings.
