predictionio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From don...@apache.org
Subject [3/7] incubator-predictionio-template-recommender git commit: Fix small typo
Date Wed, 03 May 2017 22:36:08 GMT
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/master
Commit: 77afa84173256ddbd95329dddf9269850d1783fd
Parents: a4eb514
Author: Mike Coutermarsh <coutermarsh.mike@gmail.com>
Authored: Wed May 3 10:40:08 2017 -0700
Committer: Donald Szeto <dszeto@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))


Mime
View raw message