You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@madlib.apache.org by GitBox <gi...@apache.org> on 2019/08/02 16:46:15 UTC

[GitHub] [madlib] orhankislal opened a new pull request #427: KNN: Add distances to the output table

orhankislal opened a new pull request #427: KNN: Add distances to the output table
URL: https://github.com/apache/madlib/pull/427
 
 
   This commit adds a new column to the output table to expose the
   distances for the nearest neighbors. This column shows up only when the
   user actually requests nearest neighbors.
   
   In addition, this commit adds a safeguard for the distances. We get the
   absolute value of the distance function output in case some floating
   point operations cause the distance function to return a negative value.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services