org.apache.mahout.cf.taste.impl.recommender.svd
Class ALSWRFactorizer
java.lang.Object
org.apache.mahout.cf.taste.impl.recommender.svd.AbstractFactorizer
org.apache.mahout.cf.taste.impl.recommender.svd.ALSWRFactorizer
- All Implemented Interfaces:
- Refreshable, Factorizer
public class ALSWRFactorizer
- extends AbstractFactorizer
factorizes the rating matrix using "Alternating-Least-Squares with Weighted-λ-Regularization" as described in
the paper
"Large-scale Collaborative Filtering for the Netflix Prize"
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALSWRFactorizer
public ALSWRFactorizer(DataModel dataModel,
int numFeatures,
double lambda,
int numIterations)
throws TasteException
- Throws:
TasteException
factorize
public Factorization factorize()
throws TasteException
- Throws:
TasteException
createQueue
protected ExecutorService createQueue()
ratingVector
protected Vector ratingVector(PreferenceArray prefs)
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.