org.mymedialite.examples
Class TasteFactorizer

java.lang.Object
  extended by AbstractFactorizer
      extended by org.mymedialite.examples.TasteFactorizer

public class TasteFactorizer
extends AbstractFactorizer

Adaptor class between MyMediaLite and Mahout. Allows a subclass of org.mymedialite.itemrec.MF to be used to create a org.apache.mahout.cf.taste.impl.recommender.svd.Factorization


Constructor Summary
TasteFactorizer(DataModel dataModel, MF mf)
          Create a factorizer from the supplied data model and MyMediaLite matrix factorization.
 
Method Summary
 Factorization factorize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TasteFactorizer

public TasteFactorizer(DataModel dataModel,
                       MF mf)
                throws TasteException
Create a factorizer from the supplied data model and MyMediaLite matrix factorization. See also org.apache.mahout.cf.taste.impl.recommender.svd.SVDRecommender

Parameters:
dataModel - the data model
mf - the matrix factorization
Throws:
TasteException
Method Detail

factorize

public Factorization factorize()
                        throws TasteException
Throws:
TasteException