aboutsummaryrefslogtreecommitdiff
path: root/mllib
diff options
context:
space:
mode:
authorJuarez Bochi <jbochi@gmail.com>2016-03-24 09:24:00 +0000
committerSean Owen <sowen@cloudera.com>2016-03-24 09:24:00 +0000
commit1803bf63338ff20cf983e60724d169f62a1663c2 (patch)
tree0412fa0a04c1a8ff571b824a64c77f29f550eca9 /mllib
parent01849da080439d1f2dbb90a8985c661522ed3d7a (diff)
downloadspark-1803bf63338ff20cf983e60724d169f62a1663c2.tar.gz
spark-1803bf63338ff20cf983e60724d169f62a1663c2.tar.bz2
spark-1803bf63338ff20cf983e60724d169f62a1663c2.zip
Fix typo in ALS.scala
## What changes were proposed in this pull request? Just a typo ## How was this patch tested? N/A Author: Juarez Bochi <jbochi@gmail.com> Closes #11896 from jbochi/patch-1.
Diffstat (limited to 'mllib')
-rw-r--r--mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala b/mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala
index 091ca35283..4a3ad662a0 100644
--- a/mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala
+++ b/mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala
@@ -1300,7 +1300,7 @@ object ALS extends DefaultParamsReadable[ALS] with Logging {
}
/**
- * Partitioner used by ALS. We requires that getPartition is a projection. That is, for any key k,
+ * Partitioner used by ALS. We require that getPartition is a projection. That is, for any key k,
* we have getPartition(getPartition(k)) = getPartition(k). Since the default HashPartitioner
* satisfies this requirement, we simply use a type alias here.
*/