#1418 ported ROC, confusion matrix and discriminant function classification views and fixed bug in threshold calculation.