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

Speed up Vector operations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8
    • 0.8
    • classic
    • None

    Description

      Vector assign() and aggregate() can be significantly improved in some conditions taking into account the different properties of the vectors we're working with.

      This issue relates to the design document at https://docs.google.com/document/d/1g1PjUuvjyh2LBdq2_rKLIcUiDbeOORA1sCJiSsz-JVU/edit#heading=h.koi571fvwha3jj

      and the patch at
      https://reviews.apache.org/r/10669

      The benchmarks are at
      https://docs.google.com/spreadsheet/ccc?key=0AochdzPoBmWodG9RTms1UG40YlNQd3ByUFpQY0FLWmc&pli=1#gid=10

      and while there are a few regressions (which will be fixed later regarding RandomAccessSparseVectors), it improves a lot of benchmarks as well as cleans up the code significantly.

      Part 1, the new function interfaces is merged. [Committed revision 1478853.]

      Attachments

        Activity

          People

            Unassigned Unassigned
            dfilimon Dan Filimon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: