Search code examples
mahoutrecommendation-enginemahout-recommender

How to generate co-occurrence matrix (only) in Mahout


I couldn't find a way to generate only co-occurrence matrix given a preference input file (userID, itemID and optional rating) in Mahout. Is that possible? All I can find is generating a recommendation output and co-occurrence matrix seems to be deleted.


Solution

  • I found that Mahout provides a class called ItemSimilarityJob which computes co-occurrence data.