You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@predictionio.apache.org by do...@apache.org on 2017/05/03 22:35:48 UTC

[2/5] incubator-predictionio-template-recommender git commit: Fix small typo

Fix small typo

Closes #6


Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-recommender/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-recommender/commit/77afa841
Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-recommender/tree/77afa841
Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-recommender/diff/77afa841

Branch: refs/heads/develop
Commit: 77afa84173256ddbd95329dddf9269850d1783fd
Parents: a4eb514
Author: Mike Coutermarsh <co...@gmail.com>
Authored: Wed May 3 10:40:08 2017 -0700
Committer: Donald Szeto <ds...@salesforce.com>
Committed: Wed May 3 10:40:08 2017 -0700

----------------------------------------------------------------------
 src/main/scala/ALSAlgorithm.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-recommender/blob/77afa841/src/main/scala/ALSAlgorithm.scala
----------------------------------------------------------------------
diff --git a/src/main/scala/ALSAlgorithm.scala b/src/main/scala/ALSAlgorithm.scala
index 17c2806..81bd6c8 100644
--- a/src/main/scala/ALSAlgorithm.scala
+++ b/src/main/scala/ALSAlgorithm.scala
@@ -35,7 +35,7 @@ class ALSAlgorithm(val ap: ALSAlgorithmParams)
     require(!data.ratings.take(1).isEmpty,
       s"RDD[Rating] in PreparedData cannot be empty." +
       " Please check if DataSource generates TrainingData" +
-      " and Preprator generates PreparedData correctly.")
+      " and Preparator generates PreparedData correctly.")
     // Convert user and item String IDs to Int index for MLlib
 
     val userStringIntMap = BiMap.stringInt(data.ratings.map(_.user))