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

Option to change RecommenderJob output format

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9
    • 0.9
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: