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

Option to change RecommenderJob output format

    XMLWordPrintableJSON

    Details

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

      Description

      Can we add an option to output a SequenceFile? I hard coded it to allow the Solr-recommender to work with the output file but it is probably best put in an option.

      //extract out the recommendations
      Job aggregateAndRecommend = prepareJob(
      new Path(aggregateAndRecommendInput), outputPath, SequenceFileInputFormat.class,
      PartialMultiplyMapper.class, VarLongWritable.class, PrefAndSimilarityColumnWritable.class,
      AggregateAndRecommendReducer.class, VarLongWritable.class, RecommendedItemsWritable.class,
      SequenceFileOutputFormat.class); <-- text format in Mahout trunk

      Should be able to choose format class from the params.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: