org.apache.mahout.cf.taste.impl.recommender.svd
Class ExpectationMaximizationSVDFactorizer

java.lang.Object
  extended by org.apache.mahout.cf.taste.impl.recommender.svd.AbstractFactorizer
      extended by org.apache.mahout.cf.taste.impl.recommender.svd.ExpectationMaximizationSVDFactorizer
All Implemented Interfaces:
Refreshable, Factorizer

public final class ExpectationMaximizationSVDFactorizer
extends AbstractFactorizer

Calculates the SVD using an Expectation Maximization algorithm.


Constructor Summary
ExpectationMaximizationSVDFactorizer(DataModel dataModel, int numFeatures, double learningRate, double preventOverfitting, double randomNoise, int numIterations)
           
ExpectationMaximizationSVDFactorizer(DataModel dataModel, int numFeatures, int numIterations)
           
 
Method Summary
 Factorization factorize()
           
 
Methods inherited from class org.apache.mahout.cf.taste.impl.recommender.svd.AbstractFactorizer
createFactorization, itemIndex, refresh, userIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpectationMaximizationSVDFactorizer

public ExpectationMaximizationSVDFactorizer(DataModel dataModel,
                                            int numFeatures,
                                            int numIterations)
                                     throws TasteException
Throws:
TasteException

ExpectationMaximizationSVDFactorizer

public ExpectationMaximizationSVDFactorizer(DataModel dataModel,
                                            int numFeatures,
                                            double learningRate,
                                            double preventOverfitting,
                                            double randomNoise,
                                            int numIterations)
                                     throws TasteException
Throws:
TasteException
Method Detail

factorize

public Factorization factorize()
                        throws TasteException
Throws:
TasteException


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.