Skip to main content

Polarization attribution in annotation tasks

Project description

Apunim: Attributing polarization to sociodemographic groups

Repository housing the implementation of the Aposteriori Unimodality measure, available as a PyPi module.

Includes two functions: dfu, which calculates the Distance From Unimodality (and also implements the normalized variant - nDFU), and aposteriori-unimodality, which calculates the Aposteriori Unimodality statistic for each sociodemographic group.

Installation

PyPi (recommended)

pip install apunim

Local installation

git clone https://github.com/dimits-ts/apunim.git
cd apunim
pip install .

Usage

Documentation TODO

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

apunim-1.0.1.tar.gz (29.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apunim-1.0.1-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

Details for the file apunim-1.0.1.tar.gz.

File metadata

  • Download URL: apunim-1.0.1.tar.gz
  • Upload date:
  • Size: 29.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for apunim-1.0.1.tar.gz
Algorithm Hash digest
SHA256 af94accfff83c7648fba380c5a19cf17eaca810f34096716353ebc995e90bc50
MD5 5d2c1eb7dbf511bf10c25f35ba281741
BLAKE2b-256 9cf68ffe35905d67bdb9dc0d8516f937a93f71388bccf68beaa270630a7750c3

See more details on using hashes here.

File details

Details for the file apunim-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: apunim-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 21.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for apunim-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 081ad3b8d0de20031dcaf5dca18b630d0901fe02d8410ca1401947e56fd7af36
MD5 dea49406e35b0ad6f2380ca41a917ebb
BLAKE2b-256 7f6e310d8900d9eed4ddd981ae7fa1cfb22598cd14bf329cb26d201eedbd93fe

See more details on using hashes here.

Supported by

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