You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by td...@apache.org on 2014/06/09 06:18:20 UTC
git commit: MAHOUT-1577 - Restore visibility for getYtransposeY
Repository: mahout
Updated Branches:
refs/heads/master 8bcaa7734 -> fcb436d2a
MAHOUT-1577 - Restore visibility for getYtransposeY
Project: http://git-wip-us.apache.org/repos/asf/mahout/repo
Commit: http://git-wip-us.apache.org/repos/asf/mahout/commit/fcb436d2
Tree: http://git-wip-us.apache.org/repos/asf/mahout/tree/fcb436d2
Diff: http://git-wip-us.apache.org/repos/asf/mahout/diff/fcb436d2
Branch: refs/heads/master
Commit: fcb436d2a7ed399dd8006b3254e655634000f4a1
Parents: 8bcaa77
Author: Ted Dunning <td...@apache.org>
Authored: Sun Jun 8 21:18:09 2014 -0700
Committer: Ted Dunning <td...@apache.org>
Committed: Sun Jun 8 21:18:09 2014 -0700
----------------------------------------------------------------------
.../math/als/ImplicitFeedbackAlternatingLeastSquaresSolver.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mahout/blob/fcb436d2/math/src/main/java/org/apache/mahout/math/als/ImplicitFeedbackAlternatingLeastSquaresSolver.java
----------------------------------------------------------------------
diff --git a/math/src/main/java/org/apache/mahout/math/als/ImplicitFeedbackAlternatingLeastSquaresSolver.java b/math/src/main/java/org/apache/mahout/math/als/ImplicitFeedbackAlternatingLeastSquaresSolver.java
index 5794e46..e9bf378 100644
--- a/math/src/main/java/org/apache/mahout/math/als/ImplicitFeedbackAlternatingLeastSquaresSolver.java
+++ b/math/src/main/java/org/apache/mahout/math/als/ImplicitFeedbackAlternatingLeastSquaresSolver.java
@@ -71,8 +71,8 @@ public class ImplicitFeedbackAlternatingLeastSquaresSolver {
}
/* Y' Y */
- private Matrix getYtransposeY(final OpenIntObjectHashMap<Vector> Y) {
-
+ public Matrix getYtransposeY(final OpenIntObjectHashMap<Vector> Y) {
+
ExecutorService queue = Executors.newFixedThreadPool(numTrainingThreads);
if (log.isInfoEnabled()) {
log.info("Starting the computation of Y'Y");