µ S , while taking into account the (pseudo) covariance of S. In binary classification, however, the mean vector µ S is likely to be located near the decision boundary, particularly under a balanced setting.
a small d(x, S) actually implies lower confidence of the corresponding classifier, which is counter-intuitive.