Computing Posterior Class Probabilities for SVM Classifiers