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

Multi-target, side-info aware, SGD-based recommender algorithms, examples, and tools to run

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.1
    • None
    • classic

    Description

      Upon our conversations on dev-list, I would like to state that I have completed the merge of the recommender algorithms that is mentioned in http://goo.gl/fh4d9 to mahout.

      These are a set of learning algorithms for matrix factorization based recommendation, which are capable of:

      • Recommending multiple targets:
        1. Numerical Recommendation with OLS Regression
        2. Binary Recommendation with Logistic Regression
        3. Multinomial Recommendation with Softmax Regression
        4. Ordinal Recommendation with Proportional Odds Model
      • Leveraging side info in mahout vector format where available
        1. User side information
        2. Item side information
        3. Dynamic side information (side info at feedback moment, such as proximity, day of week etc.)
      • Online learning

      Some command-line tools are provided as mahout jobs, for pre-experiment utilities and running experiments.

      Evaluation tools for numerical and categorical recommenders are added.

      A simple example for Movielens-1M data is provided, and it achieved pretty good results (0.851 RMSE in a randomly generated test data after some validation to determine learning and regularization rates on a separate validation data)

      There is no modification in the existing Mahout code, except the added lines in driver.class.props for command-line tools. However, that became a huge patch with dozens of new source files.

      These algorithms are highly inspired from various influential Recommender System papers, especially Yehuda Koren's. For example, the Ordinal model is from Koren's OrdRec paper, except the cuts are not user-specific but global.

      Left for future:

      1. The core algorithms are tested, but there probably exists some parts those tests do not cover. I saw many of those in action without problem, but I am going to add new tests regularly.
      2. Not all algorithms have been tried on appropriate datasets, and they may need some improvement. However, I use the algorithms also for my M.Sc. thesis, which means I will eventually submit more experiments. As the experimenting infrastructure exists, I believe community may provide more experiments, too.

      Attachments

        1. MAHOUT-1069.patch
          269 kB
          Gokhan Capan
        2. MAHOUT-1069.patch
          268 kB
          Gokhan Capan

        Activity

          People

            Unassigned Unassigned
            gokhancapan Gokhan Capan
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified