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

Visibility of preparePreferenceMatrix directory location

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: 0.9
    • Labels:
      None

      Description

      The Solr-recommender needs to find where the RecommenderJob is putting it’s output.

      Mahout 0.8 RecommenderJob code was:
      public static final String DEFAULT_PREPARE_DIR = "preparePreferenceMatrix”;

      Mahout 0.9 RecommenderJob code just puts “preparePreferenceMatrix” inline in the code:
      Path prepPath = getTempPath("preparePreferenceMatrix");

      This change to Mahout 0.9 works:
      public static final String DEFAULT_PREPARE_DIR = "preparePreferenceMatrix”;
      and
      Path prepPath = getTempPath(DEFAULT_PREPARE_DIR);

      You could also make this a getter method on the RecommenderJob Class instead of using a public constant.

        Attachments

          Activity

            People

            • Assignee:
              smarthi Suneel Marthi
              Reporter:
              pferrel Pat Ferrel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: