aboutsummaryrefslogtreecommitdiff
path: root/mllib
diff options
context:
space:
mode:
authorMichael Griffiths <msjgriffiths@gmail.com>2015-02-28 14:47:39 +0000
committerSean Owen <sowen@cloudera.com>2015-02-28 14:48:03 +0000
commitb36b1bc22ea73669b0f69ed21e77d47fb0a7cd5d (patch)
treef4cee299f81a19f6c54d094316b20c8ad19522fa /mllib
parente6003f0a571ba44fcd011e695c8622e11cfee7dd (diff)
downloadspark-b36b1bc22ea73669b0f69ed21e77d47fb0a7cd5d.tar.gz
spark-b36b1bc22ea73669b0f69ed21e77d47fb0a7cd5d.tar.bz2
spark-b36b1bc22ea73669b0f69ed21e77d47fb0a7cd5d.zip
SPARK-6063 MLlib doesn't pass mvn scalastyle check due to UTF chars in LDAModel.scala
Remove unicode characters from MLlib file. Author: Michael Griffiths <msjgriffiths@gmail.com> Author: Griffiths, Michael (NYC-RPM) <michael.griffiths@reprisemedia.com> Closes #4815 from msjgriffiths/SPARK-6063 and squashes the following commits: bcd7de1 [Griffiths, Michael (NYC-RPM)] Change \u201D quote marks around 'theta' to standard single apostrophe (\x27) 38eb535 [Michael Griffiths] Merge pull request #2 from apache/master b08e865 [Michael Griffiths] Merge pull request #1 from apache/master
Diffstat (limited to 'mllib')
-rw-r--r--mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAModel.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAModel.scala b/mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAModel.scala
index b0e991d2f2..0a3f21ecee 100644
--- a/mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAModel.scala
+++ b/mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAModel.scala
@@ -130,7 +130,7 @@ abstract class LDAModel private[clustering] {
/* TODO
* Compute the estimated topic distribution for each document.
- * This is often called “theta” in the literature.
+ * This is often called 'theta' in the literature.
*
* @param documents RDD of documents, which are term (word) count vectors paired with IDs.
* The term count vectors are "bags of words" with a fixed-size vocabulary