org.apache.mahout.math.als
Class AlternateLeastSquaresSolver
java.lang.Object
org.apache.mahout.math.als.AlternateLeastSquaresSolver
public class AlternateLeastSquaresSolver
- extends Object
See
this paper.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlternateLeastSquaresSolver
public AlternateLeastSquaresSolver()
solve
public Vector solve(List<Vector> featureVectors,
Vector ratingVector,
double lambda,
int numFeatures)
addLambdaTimesNuiTimesE
protected Matrix addLambdaTimesNuiTimesE(Matrix matrix,
double lambda,
int nui)
createMiIi
protected Matrix createMiIi(List<Vector> featureVectors,
int numFeatures)
createRiIiMaybeTransposed
protected Matrix createRiIiMaybeTransposed(Vector ratingVector)
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.