You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Zhipeng Zhang (Jira)" <ji...@apache.org> on 2022/11/02 07:08:00 UTC

[jira] [Assigned] (FLINK-29843) Euclidean Distance Measure generates NAN distance values

     [ https://issues.apache.org/jira/browse/FLINK-29843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhipeng Zhang reassigned FLINK-29843:
-------------------------------------

    Assignee: Yunfeng Zhou

> Euclidean Distance Measure generates NAN distance values
> --------------------------------------------------------
>
>                 Key: FLINK-29843
>                 URL: https://issues.apache.org/jira/browse/FLINK-29843
>             Project: Flink
>          Issue Type: Bug
>          Components: Library / Machine Learning
>    Affects Versions: ml-2.1.0
>            Reporter: Yunfeng Zhou
>            Assignee: Yunfeng Zhou
>            Priority: Major
>              Labels: pull-request-available
>
> Currently Flink ML's `EuclideanDistanceMeasure.distance(...)` method might return a negative value as the distance between two vectors given the calculation accuracy of java doubles. This bug should be fixed to guarantee that the distance is a non-negative value.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)