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

Nandish Jayaram commented on MADLIB-1082:
-----------------------------------------

Proposed interface with grouping includes a new parameter called 
{{grouping_cols}}:
{code:sql}
pagerank(
      vertex_table,
      vertex_id,
      edge_table,
      edge_args,
      out_table,
      damping_factor,
      max_iter,
      threshold,
      grouping_cols -- A single column or a list of comma-separated
-- columns that divides the input data into discrete groups
)
{code}

The output table will have the page rank values of nodes wrt groups.
{{grouping_cols}} columns, along with the {{vertex_id}} and {{pagerank}}
columns will be included in the output table. A summary table named
{{out_table}}_summary will also be created, that would contain the
number of iterations required for each group to converge.

> Graph - add grouping to page rank
> ---------------------------------
>
>                 Key: MADLIB-1082
>                 URL: https://issues.apache.org/jira/browse/MADLIB-1082
>             Project: Apache MADlib
>          Issue Type: Improvement
>          Components: Module: Graph
>            Reporter: Frank McQuillan
>            Assignee: Nandish Jayaram
>            Priority: Minor
>             Fix For: v1.11
>
>
> Add grouping column to edge table to support separate page rank calculations 
> by group



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to