Computes Kendall's coefficient of concordance
Project description
kendall-w
version number: 0.0.1 author: Ugo Loobuyck
Overview
Computes Kendall's coefficient of concordance for inter-annotator agreement in the case of item ranking.
Installation / Usage
To install use pip:
$ pip install kendall-w
Or clone the repo:
$ git clone https://github.com/ugolbck/kendall-w.git
$ python setup.py install
Contributing
TBD
Example
from kendall_w.kendall_w import compute_w
annotations = [
[1, 1, 1, 2],
[2, 2, 2, 3],
[3, 3, 3, 1],
]
W = compute_w(annotations) # returns 0.4375 (fair overall agreement)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for kendall_w-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5279a0d975a8cbb68b5f33f2f7bae6baada8325b8184d94cf3df4005ff05a2a9 |
|
MD5 | aa8da3226ea5f2cc555597af14a96921 |
|
BLAKE2b-256 | c41d81fcc1398a100d50cba05971b610ce629d0b1441e27ddbb810af181123ed |