public class FleissKappaAgreement extends CodingAgreementMeasure implements IChanceCorrectedAgreement, ICategorySpecificAgreement
study
Constructor and Description |
---|
FleissKappaAgreement(ICodingAnnotationStudy study)
Initializes the instance for the given annotation study.
|
Modifier and Type | Method and Description |
---|---|
double |
calculateCategoryAgreement(Object category)
Calculates the inter-rater agreement for the given category.
|
double |
calculateExpectedAgreement()
Calculates the expected inter-rater agreement that assumes the same
distribution for all raters and annotations.
|
calculateObservedAgreement, doCalculateItemAgreement, ensureTwoRaters, warnIfMissingValues
calculateAgreement
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calculateObservedAgreement
calculateAgreement
public FleissKappaAgreement(ICodingAnnotationStudy study)
public double calculateExpectedAgreement()
calculateExpectedAgreement
in interface IChanceCorrectedAgreement
calculateExpectedAgreement
in class AgreementMeasure
NullPointerException
- if the annotation study is null.ArithmeticException
- if there are no items in the
annotation study.public double calculateCategoryAgreement(Object category)
ICategorySpecificAgreement
calculateCategoryAgreement
in interface ICategorySpecificAgreement
ICategorySpecificAgreement
Copyright © 2011–2015 Ubiquitous Knowledge Processing (UKP) Lab. All rights reserved.