Mahout
  1. Mahout
  2. MAHOUT-824

FastByIDRunningAverage: Optimize SlopeOneRecommender by optimizing MemoryDiffStorage

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 0.6
    • Component/s: None
    • Labels:
      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).

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

        Activity

          People

          • Assignee:
            Sean Owen
            Reporter:
            Lance Norskog
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development