public abstract class AnnotatorAgreement extends Object
Modifier and Type | Field and Description |
---|---|
protected int[][] |
annotation |
protected int[][] |
nck |
protected int[][] |
nik |
protected int[] |
nk |
protected int |
numAnnotators |
protected int |
numItems |
protected int |
numLabels |
Constructor and Description |
---|
AnnotatorAgreement(int numAnnotators,
int numItems,
int numLabels) |
Modifier and Type | Method and Description |
---|---|
void |
addAnnotation(int annotatorId,
int item,
int label) |
double |
getAgreementCoefficient() |
abstract double |
getExpectedAgreement() |
abstract double |
getObservedAgreement() |
double |
getObservedDisagreement() |
protected final int numAnnotators
protected final int numItems
protected final int numLabels
protected int[][] nik
protected int[][] nck
protected int[] nk
protected int[][] annotation
public AnnotatorAgreement(int numAnnotators, int numItems, int numLabels)
public void addAnnotation(int annotatorId, int item, int label)
public abstract double getObservedAgreement()
public abstract double getExpectedAgreement()
public double getObservedDisagreement()
public double getAgreementCoefficient()
Copyright © 2017. All rights reserved.