opt_kappa: Determines the optimal possible Cohen's Kappa that can be...

View source: R/mr_funcs.R

opt_kappaR Documentation

Determines the optimal possible Cohen's Kappa that can be generated by the given feature.

Description

Determines the optimal possible Cohen's Kappa that can be generated by the given feature.

Usage

opt_kappa(class.vec, feature.vec)

Arguments

class.vec

Vector of categorical labels.

feature.vec

Vector of numerical feature values. Assumes the same ordering as 'class.vec'.

Value

THe optimal possible value of Cohen's Kappa for a classifier generated using this feature.


califano-lab/PISCES documentation built on Jan. 11, 2023, 5:34 a.m.