Skip to main content

Concept Hierarchies for Incremental and Active Learning

Project description

CHIA: Concept Hierarchies for Incremental and Active Learning

PyPI PyPI - License PyPI - Python Version Code Climate maintainability codecov

CHIA implements methods centered around hierarchical classification in a lifelong learning environment. It forms the basis for some of the experiments and tools developed at Computer Vision Group Jena. Development is continued at the DLR Institute of Data Science

Methods
CHIA implements:

  • One-Hot Softmax Classifier as a baseline.
  • Probabilistic Hierarchical Classifier Brust, C. A., & Denzler, J. (2019). Integrating domain knowledge: using hierarchies to improve deep classifiers. In Asian Conference on Pattern Recognition (ACPR)
  • CHILLAX Brust, C. A., Barz, B., & Denzler, J. (2021). Making Every Label Count: Handling Semantic Imprecision by Integrating Domain Knowledge. In International Conference on Pattern Recognition (ICPR).
  • Self-Supervised CHILLAX Brust, C. A., Barz, B., & Denzler, J. (2022). Self-Supervised Learning from Semantically Imprecise Data. In Computer Vision Theory and Applications (VISAPP)
  • Semantic Label Sharing Fergus, R., Bernal, H., Weiss, Y., & Torralba, A. (2010). Semantic label sharing for learning with many categories. In European Conference on Computer Vision (ECCV).

Datasets
CHIA has integrated support including hierarchies for a number of popular datasets. See here for a complete list.

Installation and Getting Started

CHIA is available on PyPI. To install, simply run:

pip install chia

or clone this repository, and run:

pip install -e .

To run the example experiment which makes sure that everything works, use the following command:

python examples/experiment.py examples/configuration.json

After a few minutes, the last lines of output should look like this:

[SHUTDOWN] [Experiment] Successful: True

Documentation

The following articles explain more about CHIA:

  • Architecture explains the overall construction. It also includes reference descriptions of most classes.
  • Configuration describes how experiments and CHIA itself are configured.
  • Using your own dataset explains our JSON format for adding your own data.

Citation

If you use CHIA for your research, kindly cite:

Brust, C. A., & Denzler, J. (2019). Integrating domain knowledge: using hierarchies to improve deep classifiers. In Asian Conference on Pattern Recognition. Springer, Cham.

You can refer to the following BibTeX:

@inproceedings{Brust2019IDK,
author = {Clemens-Alexander Brust and Joachim Denzler},
booktitle = {Asian Conference on Pattern Recognition (ACPR)},
title = {Integrating Domain Knowledge: Using Hierarchies to Improve Deep Classifiers},
year = {2019},
doi = {10.1007/978-3-030-41404-7_1}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chia-2.5.0.tar.gz (74.2 kB view hashes)

Uploaded Source

Built Distribution

chia-2.5.0-py3-none-any.whl (103.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page