[jira] [Created] (IGNITE-10528) [ML] Fix incorrect comparing of double values in ML examples

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-10528) [ML] Fix incorrect comparing of double values in ML examples

Anton Vinogradov (Jira)
Aleksey Zinoviev created IGNITE-10528:
-----------------------------------------

             Summary: [ML] Fix incorrect comparing of double values in ML examples
                 Key: IGNITE-10528
                 URL: https://issues.apache.org/jira/browse/IGNITE-10528
             Project: Ignite
          Issue Type: Bug
          Components: ml
    Affects Versions: 2.8
            Reporter: Aleksey Zinoviev
            Assignee: Aleksey Zinoviev
             Fix For: 2.8


Look at code row

if (groundTruth != prediction)

in each example

Fix with Math.abs or Double.compare method (don't forget precision)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)