Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-1841

Matrices.symmetricUniformView(...) returning values in the wrong range.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: 0.12.1
    • Component/s: Math
    • Labels:
      None

      Description

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

      /**
         * 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);
        }
      

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                smarthi Suneel Marthi
                Reporter:
                Andrew_Palumbo Andrew Palumbo
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: