public abstract class WeightedAgreement extends DisagreementMeasure implements IWeightedAgreement
IDistanceFunction
,
DisagreementMeasure
Modifier and Type | Field and Description |
---|---|
protected IDistanceFunction |
distanceFunction |
protected ICodingAnnotationStudy |
study |
Constructor and Description |
---|
WeightedAgreement(ICodingAnnotationStudy study)
Initializes the instance for the given annotation study.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ensureDistanceFunction() |
IDistanceFunction |
getDistanceFunction()
Returns the distance function that is used to measure the distance
between two annotation categories.
|
void |
setDistanceFunction(IDistanceFunction distanceFunction)
Uses the given distance function for upcoming calculations of the
inter-rater agreement.
|
calculateAgreement, calculateExpectedDisagreement, calculateObservedDisagreement
protected IDistanceFunction distanceFunction
protected ICodingAnnotationStudy study
public WeightedAgreement(ICodingAnnotationStudy study)
public IDistanceFunction getDistanceFunction()
IWeightedAgreement
getDistanceFunction
in interface IWeightedAgreement
public void setDistanceFunction(IDistanceFunction distanceFunction)
protected void ensureDistanceFunction()
Copyright © 2011–2015 Ubiquitous Knowledge Processing (UKP) Lab. All rights reserved.