hpcc-systems/ecl-ml — pull request #121 by DonVitorio (2012-06-06 17:22:08+00:00)
Title: Fix Performance Evaluation Measures and NaiveBayes Learning

Clasifiy.Compare Module
- Fix CrossAssignments, return also cases with 0 ocurrs (Confusion Matrix)
- Add RecallByClass, return % instances belonging to a class
that was correctly classified
- Fix PrecisionByClass, return % of instances classified as a class
that really belong to this class. (returned incorrectly the recall rate before)
- Add FP_Rate_ByClass, return % of instances not belonging to a class
that were incorrectly classified as this class,
- Fix HeadLine field label, change from Precision to Accuracy
Classify.NaiveBayes
- Fix sample correction aplication (Laplace Estimator) in LearnD function,
it was considering only existing feature values - class combination,
it should consider all possible feature values
- Fix PC calculation, apply sample correction too.