Github user jingyimei commented on a diff in the pull request:

    https://github.com/apache/madlib/pull/244#discussion_r177914961
  
    --- Diff: src/ports/postgres/modules/graph/pagerank.py_in ---
    @@ -551,14 +680,16 @@ def pagerank_help(schema_madlib, message, **kwargs):
                 message.lower() in ("usage", "help", "?"):
             help_string = "Get from method below"
             help_string = get_graph_usage(schema_madlib, 'PageRank',
    -"""out_table     TEXT, -- Name of the output table for PageRank
    +                                      """out_table     TEXT, -- Name of 
the output table for PageRank
         damping_factor DOUBLE PRECISION, -- Damping factor in random surfer 
model
                                          -- (DEFAULT = 0.85)
         max_iter      INTEGER, -- Maximum iteration number (DEFAULT = 100)
         threshold     DOUBLE PRECISION, -- Stopping criteria (DEFAULT = 
1/(N*1000),
                                         -- N is number of vertices in the 
graph)
    -    grouping_col  TEXT -- Comma separated column names to group on
    +    grouping_col  TEXT, -- Comma separated column names to group on
                            -- (DEFAULT = NULL, no grouping)
    +    nodes_of_interest ARRAY OF INTEGER -- A comma seperated list of 
vertices
    +                                          or nodes for personalized page 
rank.
     """) + """
     
    --- End diff --
    
    indent left side, and indent comment(--) right


---

Reply via email to