You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@madlib.apache.org by "Orhan Kislal (JIRA)" <ji...@apache.org> on 2018/08/07 23:27:00 UTC

[jira] [Comment Edited] (MADLIB-1060) Support expressions for column names in k-NN

    [ https://issues.apache.org/jira/browse/MADLIB-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16572475#comment-16572475 ] 

Orhan Kislal edited comment on MADLIB-1060 at 8/7/18 11:26 PM:
---------------------------------------------------------------

Thanks for looking into this JIRA, Himanshu. You might want to check out the Path module (utilities) for a similar case. `partition_expr` is used for grouping but the basic idea should be similar.


was (Author: okislal):
Thanks for looking into this Jira Himanshu. You might want to check out the Path module (utilities) for a similar case. `partition_expr` is used for grouping but the basic idea should be similar.

> Support expressions for column names in k-NN
> --------------------------------------------
>
>                 Key: MADLIB-1060
>                 URL: https://issues.apache.org/jira/browse/MADLIB-1060
>             Project: Apache MADlib
>          Issue Type: Improvement
>          Components: k-NN
>            Reporter: Frank McQuillan
>            Assignee: Himanshu Pandey
>            Priority: Minor
>              Labels: starter
>             Fix For: v2.0
>
>
> Follow on to 
> https://issues.apache.org/jira/browse/MADLIB-927
> {code}
> knn( point_source,
>      point_column_name,
>      label_column_name,
>      test_source,
>      test_column_name,
>      id_column_name,
>      output_table,
>      operation,
>      k
>    )
> {code}
> Possible improvements:
> 1) The parameters 'point_column_name' and 'test_column_name' should support regular PostgreSQL expressions.
> 2) Should we infer 'c' or 'r' from the data types, rather than have to say explicitly?



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