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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.12.0
    • 0.12.1
    • classic
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: