Calculate the optimal probability classification threshold using the G-Mean method.
Arguments
- estimates
A vector of classification probabilities. Values should represent the probability of
1
in thetruth
argument.- truth
An integer vector of
0
and1
representing the true classifications.
Details
The G-mean method (Kubat & Matwin, 1997) is defined as the square root of the product of sensitivity and specificity at a given threshold. The optimal threshold is the threshold with the greatest g-mean.
The optimality criterion is then defined as:
$$\text{max}\sqrt{(sensitivity * specificity)}$$
References
Kubat, M. & Matwin, S. (1997, July 8-12). Addressing the curse of imbalanced training sets: One-sided selection [Paper presentation]. International Conference on Machine Learning, Nashville, TN.
See also
Other optimal threshold methods:
calc_cz()
,
calc_topleft()
,
calc_youden()