func (v evalLabel) Kappa(total int64) float64 {

	if v.PE(total) == 1 {
		return 0
	}

	return (v.PO(total) - v.PE(total)) / (1 - v.PE(total))
}
// Kappa is a function of the observed and expected probabilities of agreement
// at a label
Kappa is a function of the observed and expected probabilities of agreement
at a label
// Kappa is a function of the observed and expected probabilities of agreement // at a label
func (v evalLabel) Kappa(total int64) float64 {
	if v.PE(total) == 1 {
		return 0
	}
	return (v.PO(total) - v.PE(total)) / (1 - v.PE(total))
}
func ( v evalLabel ) Kappa ( total int64 ) float64 { if v . PE ( total ) == 1 { return 0 } return ( v . PO ( total ) - v . PE ( total ) ) / ( 1 - v . PE ( total ) ) }
Kappa is a function of the observed and expected probabilities of agreement
at a label
Kappa is a function of the observed and expected probabilities of agreement at a label