Open lrebscher opened 7 years ago
@lrebscher I have build a fast version based on this library that contains the ordinal metric. Maybe you can give it a try: https://github.com/pln-fing-udelar/fast-krippendorff
btw, @grrrr thanks for this library!
I built it from scratch because this one was too slow for my dataset (it took several hours to compute with 40k units, few annotations per unit)
Hi Santiago, that's great, will have a look!
Am 28.09.2017 um 05:54 schrieb Santiago Castro notifications@github.com:
I built it from scratch because this one was too slow for my dataset (it took several hours to compute with 40k units, few annotations per unit)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/grrrr/krippendorff-alpha/issues/5#issuecomment-332720616, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJ-Jp0Xd2G828zb8KIxXtxENzOsurQTks5smxhogaJpZM4Pfirx.
@bryant1410 thank you! I will check it out!
@grrrr I tested your implementation in https://github.com/pln-fing-udelar/humor/tree/32a7ce954361fb79a58e4e4f282b88a02b4fcda1 To reproduce it:
pip install -r requirements.txt
./agreement.py
Current is in https://github.com/pln-fing-udelar/humor/tree/2ee918293fa99038247f1d848d40bdade471ff0c
I didn't analyze the main bottleneck, but my implementation has some features:
@bryant1410 Is it possible to compute krippendorff's alpha for nominal data with the Euclidean distance function? I am wondering what the distance function is in your fast version.
Hey. Now there are distance functions for nominal, ordinal, interval, and ratio data types. Though not sure how you could use Euclidean distance for nominal data.
@bryant1410 Thank you for the response. what are the current distance functions for nominal? how can I see the available distance functions?
See https://github.com/pln-fing-udelar/fast-krippendorff/blob/main/krippendorff/krippendorff.py#L14-L39
The distance metric for nominal pretty much checks if the value is the same or different.
@bryant1410 Thank you. Unfortunately, it is not clear what formula has been used. I would recommend having documentation (comments) for a better understanding. Thanks anyway.
It follows the definition. See e.g. https://en.wikipedia.org/wiki/Krippendorff%27s_alpha
Hello,
I want to use krippendorff's alpha for ordinal data (6-point Likert scale), but no ordinal distance function is available.
Ordinal distance formula (https://en.wikipedia.org/wiki/Krippendorff%27s_alpha):
Has a support for ordinal data been considered yet?
Cheers