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

    https://github.com/apache/madlib/pull/179#discussion_r137339460
  
    --- Diff: src/ports/postgres/modules/convex/mlp_igd.py_in ---
    @@ -158,175 +236,257 @@ def mlp(schema_madlib, source_table, output_table, 
independent_varname,
                     # See design doc for more info
                     span = math.sqrt(6.0 / (fan_in + fan_out))
                     dim = (layer_sizes[i] + 1) * layer_sizes[i + 1]
    -                rand = plpy.execute("""SELECT 
array_agg({span}*(random()-0.5))
    +                rand = plpy.execute("""SELECT 
array_agg({span}*2*(random()-0.5))
    --- End diff --
    
    Is there a particular reason for this change?


---

Reply via email to