コード例 #1
0
ファイル: kappa.py プロジェクト: UKPLab/emnlp2015-ih-ig
def fleiss_kappa_linear(dataset, **kwargs):
    '''
    Calculates Fleiss' :math:`\kappa` (or multi-:math:`\kappa`), originally proposed in
    [DaviesFleiss1982]_.  For 2 coders, this is equivalent to Cohen's :math:`\kappa`
    [Cohen1960]_.
    '''
    return __fnc_metric__(__fleiss_kappa_linear__, dataset, **kwargs)
コード例 #2
0
ファイル: pi.py プロジェクト: UKPLab/emnlp2015-ih-ig
def fleiss_pi_linear(dataset, **kwargs):
    '''
    Calculates Fleiss' :math:`\pi` (or multi-:math:`\pi`), originally proposed in
    [Fleiss1971]_, and is equivalent to Siegel and Castellan's :math:`K`
    [SiegelCastellan1988]_.  For 2 coders, this is equivalent to Scott's :math:`\pi`
    [Scott1955]_.
    '''
    return __fnc_metric__(__fleiss_pi_linear__, dataset, **kwargs)
コード例 #3
0
def fleiss_pi_linear(dataset, **kwargs):
    '''
    Calculates Fleiss' :math:`\pi` (or multi-:math:`\pi`), originally proposed in
    [Fleiss1971]_, and is equivalent to Siegel and Castellan's :math:`K`
    [SiegelCastellan1988]_.  For 2 coders, this is equivalent to Scott's :math:`\pi`
    [Scott1955]_.
    '''
    return __fnc_metric__(__fleiss_pi_linear__, dataset, **kwargs)
コード例 #4
0
ファイル: bias.py プロジェクト: UKPLab/emnlp2015-ih-ig
def artstein_poesio_bias_linear(dataset, **kwargs):
    '''
    Artstein and Poesio's annotator bias [ArtsteinPoesio2008]_.
    '''
    return __fnc_metric__(__artstein_poesio_bias_linear__, dataset, **kwargs)