Pat Ferrel created MAHOUT-1352:
----------------------------------

             Summary: Option to change RecommenderJob output format
                 Key: MAHOUT-1352
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1352
             Project: Mahout
          Issue Type: New Feature
          Components: Collaborative Filtering
    Affects Versions: 0.9
            Reporter: Pat Ferrel
             Fix For: 0.9


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.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to