Skip to content

Fast computation of Krippendorff's alpha agreement measure in Python.

License

Notifications You must be signed in to change notification settings

pln-fing-udelar/fast-krippendorff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Actions Status Version License Supported Python versions

Fast Krippendorff

Fast computation of Krippendorff's alpha agreement measure.

Based on Thomas Grill implementation.

Example usage

Given a reliability data matrix, run:

import krippendorff

krippendorff.alpha(reliability_data=...)

See sample.py and alpha's docstring for more details.

Installation

pip install krippendorff

Caveats

The implementation is fast as it doesn't do a nested loop for the coders. However, V should be small, since a VxV matrix it's used.

Citing

If you use this code in your research, please cite Fast Krippendorff:

@misc{castro-2017-fast-krippendorff,
  author = {Santiago Castro},
  title = {Fast {K}rippendorff: Fast computation of {K}rippendorff's alpha agreement measure},
  year = {2017},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/pln-fing-udelar/fast-krippendorff}}
}