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

Override zSum and dot for SparseVector

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.1
    • 0.1
    • classic
    • None

    Description

      revision 649163

      The patch attached overrides the zSum() and dot() methods in SparseVector. This is more efficient than relying on the methods from AbstractVector which iterate on all the indices of the Vectors.

      Attachments

        1. SparseVector.diff
          1 kB
          Julien Nioche

        Activity

          People

            gsingers Grant Ingersoll
            jnioche Julien Nioche
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: