public class WeightedKappaAgreement extends WeightedAgreement implements IChanceCorrectedDisagreement
IDistanceFunctioninstance needs to be assigned.
|Constructor and Description|
Initializes the instance for the given annotation study.
|Modifier and Type||Method and Description|
Calculates the expected inter-rater agreement using the defined distance function to infer the assumed probability distribution.
Calculates the observed inter-rater agreement for the annotation study that was passed to the class constructor and the currently assigned distance function.
ensureDistanceFunction, getDistanceFunction, setDistanceFunction
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public double calculateObservedDisagreement()
NullPointerException- if the study is null.
ArithmeticException- if the study does not contain any item or the number of raters is smaller than 2.
public double calculateExpectedDisagreement()
Copyright © 2011–2015 Ubiquitous Knowledge Processing (UKP) Lab. All rights reserved.