public class ImplicitFeedbackAlternatingLeastSquaresSolver extends Object
Constructor and Description |
---|
ImplicitFeedbackAlternatingLeastSquaresSolver(int numFeatures,
double lambda,
double alpha,
OpenIntObjectHashMap<Vector> Y,
int numTrainingThreads) |
Modifier and Type | Method and Description |
---|---|
Matrix |
getYtransposeY(OpenIntObjectHashMap<Vector> Y) |
Vector |
solve(Vector ratings) |
public ImplicitFeedbackAlternatingLeastSquaresSolver(int numFeatures, double lambda, double alpha, OpenIntObjectHashMap<Vector> Y, int numTrainingThreads)
public Matrix getYtransposeY(OpenIntObjectHashMap<Vector> Y)
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.