Waikato / moa

MOA is an open source framework for Big Data stream mining. It includes a collection of machine learning algorithms (classification, regression, clustering, outlier detection, concept drift detection and recommender systems) and tools for evaluation.
http://moa.cms.waikato.ac.nz/
GNU General Public License v3.0
609 stars 353 forks source link

moa.evaluation.FadingFactorClassificationPerformanceEvaluator.FadingFactorEstimator.add(double) doesn't support NaN values #181

Closed dinaldoap closed 4 years ago

dinaldoap commented 5 years ago

That method is not able to receive Double.NaN values, but since commit f83f9afa722b898161a353f083d3e18c43243375, this situation can happens.

Check line 135 of BasicClassificationPerformanceEvaluator, changed by the referred commit, to see one example of that kind of call: precision[i].add(Double.NaN).