Andrew Palumbo created MAHOUT-1841:
--------------------------------------

             Summary: Matrices.symmetricUniformView(...) returning values in 
the wrong range.
                 Key: MAHOUT-1841
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1841
             Project: Mahout
          Issue Type: Bug
          Components: Math
    Affects Versions: 0.12.0
            Reporter: Andrew Palumbo
             Fix For: 0.12.1


Per javadocs, {{Matrices.symmetricUniformView(...)}} is meant to return values 
in on the range of [-1,1): 

{code}
/**
   * Matrix view based on uniform [-1,1) distribution.
   *
   * @param seed generator seed
   */
  public static final Matrix symmetricUniformView(final int rows,
                                                  final int columns,
                                                  int seed) {
    return functionalMatrixView(rows, columns, uniformSymmetricGenerator(seed), 
true);
  }
{code}

Ranges being returned now are on (-.5,.5).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to