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

Orhan Kislal commented on MADLIB-1060:
--------------------------------------

I think you are on the right track. The dev-check for path has a similar 
partition clause (user_id, age_group > 1, income_group > 1).

> 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)

Reply via email to