IGNITE-10713: [ML] Refactor examples with accuracy calculation and
authorzaleslaw <zaleslaw.sin@gmail.com>
Fri, 11 Jan 2019 10:56:16 +0000 (13:56 +0300)
committerYury Babak <ybabak@gridgain.com>
Fri, 11 Jan 2019 10:56:16 +0000 (13:56 +0300)
commit2026cf75dc58f674e7bca890334eb77041e0afb9
tree6873f6915e00e22bf907703f4c9e66b198da61b2
parent9ba0052e4b8b793ff9d2093293e33eaf1f206fca
IGNITE-10713: [ML] Refactor examples with accuracy calculation and
another metrics usage

This closes #5787
examples/src/main/java/org/apache/ignite/examples/ml/knn/KNNClassificationExample.java
examples/src/main/java/org/apache/ignite/examples/ml/knn/KNNRegressionExample.java
examples/src/main/java/org/apache/ignite/examples/ml/naivebayes/DiscreteNaiveBayesTrainerExample.java
examples/src/main/java/org/apache/ignite/examples/ml/naivebayes/GaussianNaiveBayesTrainerExample.java
examples/src/main/java/org/apache/ignite/examples/ml/regression/logistic/binary/LogisticRegressionSGDTrainerExample.java
examples/src/main/java/org/apache/ignite/examples/ml/selection/scoring/EvaluatorExample.java
examples/src/main/java/org/apache/ignite/examples/ml/svm/SVMBinaryClassificationExample.java