An open API service indexing awesome lists of open source software.

https://github.com/nilsreiter/iaa

command line stuff to calculate inter annotator agreement
https://github.com/nilsreiter/iaa

fleiss inter-annotator-agreement kappa

Last synced: 5 months ago
JSON representation

command line stuff to calculate inter annotator agreement

Awesome Lists containing this project

README

          

# Inter-Annotator-Agreement

This repository contains code to calculate inter-annotator-agreement (Fleiss' Kappa at the moment) on the command line using awk.

## Fleiss' Kappa

Calculates [Fleiss' kappa](https://en.wikipedia.org/wiki/Fleiss%27_kappa)
```
$ awk -f kappa.awk FILENAME
```

Testing
```
$ awk -f kappa.awk test.csv
0.209931
```

`test.csv` contains the same data as on the Wikipedia page as an example.

## Accuracy
```
$ awk -f accuracy.awk FILENAME
```

Testing
```
$ awk -f accuracy.awk test-accuracy.tsv
0.528571
```