Skip to main content

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

kendall_w-0.0.1-py2.py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 2 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