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

FastByIDRunningAverage: Optimize SlopeOneRecommender by optimizing MemoryDiffStorage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Won't Fix
    • None
    • 0.6
    • None
    • None

    Description

      The SlopeOneRecommender has by far the best RMS of all of the online recommenders in Mahout (that I've found). Unfortunately the implementation also uses much more memory and is unuseable on my laptop.

      This patch optimizes memory (and speed) by folding FastByIDMap<RunningAverage> into one class: FastByIDRunningAverage. This is what it sounds like: a Long-addressable array of running averages (and optionally standard deviation).

      Attachments

        1. MAHOUT-824.patch
          78 kB
          Lance Norskog
        2. MAHOUT-824.short.patch
          36 kB
          Lance Norskog

        Activity

          People

            srowen Sean R. Owen
            lancenorskog Lance Norskog
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: