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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file chia-2.5.0.tar.gz.

File metadata

  • Download URL: chia-2.5.0.tar.gz
  • Upload date:
  • Size: 74.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for chia-2.5.0.tar.gz
Algorithm Hash digest
SHA256 ee0ee8dc1d3ddac1220032a314e247e8819722ad0ea34e615060cb0109c4a3fc
MD5 ea01715a6177d51bc666f3e18739fb63
BLAKE2b-256 6b3c5d34b6146b2a6e437795093e1c5b16b3fa86cf661ae4fba5d9da5ad6c1f3

See more details on using hashes here.

File details

Details for the file chia-2.5.0-py3-none-any.whl.

File metadata

  • Download URL: chia-2.5.0-py3-none-any.whl
  • Upload date:
  • Size: 103.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for chia-2.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 656f5deae9730d88728e160d135f9fca7f9a852fbfafb2c3d16bb3f02ac94a83
MD5 169cd9007b6c78dc36944707aaf569e4
BLAKE2b-256 7f9e86e8b8e0b6d02f4ee4da1a168d289ce0f268de4021ccfc1812a378071131

See more details on using hashes here.

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