Skip to main content

Apunim: Attributing polarization to sociodemographic groups

Repository housing the implementation of the Aposteriori Unimodality ("Apunim") metric, which attributes polarization in annotation to specific annotator groups. See the accompanying paper for details: [Quantifying and Attributing Polarization to Annotator Groups](link pending).

Includes two functions: dfu, which calculates the Distance From Unimodality (and also implements the normalized variant - nDFU), and aposteriori-unimodality, which calculates the apunim metric and associated pvalue.

See the online documentation for high-level notes, usage examples, and module documentation.

Installation is possible through PyPi: pip install apunim.

Release files for apunim 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for apunim 1.0.6
File Size Uploaded
apunim-1.0.6.tar.gz 32.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for apunim 1.0.6
File Interpreter ABI Platform
apunim-1.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 57.7 kB

Release files / apunim-1.0.6.tar.gz

Download URL apunim-1.0.6.tar.gz
Size 32.9 kB
Tags Source
SHA-256 checksum
How to use checksums
21054ef4d8212c25dc6cd7a2377eadf2a737a76eb0ba1ea6cd1511e288503455
BLAKE2b-256 checksum
How to use checksums
4455d354c57e2bbb7fb0e91ec1753885d114182a1a8788fdbfd484026c0d71bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / apunim-1.0.6-py3-none-any.whl

Download URL apunim-1.0.6-py3-none-any.whl
Size 24.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f236be071e6ed00b87804535bdc395ffe539fffd79902d547368cac5b998644
BLAKE2b-256 checksum
How to use checksums
db51cd4b66d172c86c2710ddcfdb17ac0d62b92946a5986b8366b40b2475f374
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page