public class ScottPiAgreement extends CodingAgreementMeasure implements IChanceCorrectedAgreement
study
Constructor and Description |
---|
ScottPiAgreement(ICodingAnnotationStudy study)
Initializes the instance for the given annotation study.
|
Modifier and Type | Method and Description |
---|---|
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 ScottPiAgreement(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.Copyright © 2011–2015 Ubiquitous Knowledge Processing (UKP) Lab. All rights reserved.