aboutsummaryrefslogtreecommitdiff
path: root/mllib/src/main
diff options
context:
space:
mode:
authorXiangrui Meng <meng@databricks.com>2015-08-12 16:53:47 -0700
committerXiangrui Meng <meng@databricks.com>2015-08-12 16:53:47 -0700
commitcaa14d9dc9e2eb1102052b22445b63b0e004e3c7 (patch)
tree77d31992e52fadf0b8ae432ccbce89ee238aff72 /mllib/src/main
parent7035d880a0cf06910c19b4afd49645124c620f14 (diff)
downloadspark-caa14d9dc9e2eb1102052b22445b63b0e004e3c7.tar.gz
spark-caa14d9dc9e2eb1102052b22445b63b0e004e3c7.tar.bz2
spark-caa14d9dc9e2eb1102052b22445b63b0e004e3c7.zip
[SPARK-9913] [MLLIB] LDAUtils should be private
feynmanliang Author: Xiangrui Meng <meng@databricks.com> Closes #8142 from mengxr/SPARK-9913.
Diffstat (limited to 'mllib/src/main')
-rw-r--r--mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAUtils.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAUtils.scala b/mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAUtils.scala
index f7e5ce1665..a9ba7b60ba 100644
--- a/mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAUtils.scala
+++ b/mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAUtils.scala
@@ -22,7 +22,7 @@ import breeze.numerics._
/**
* Utility methods for LDA.
*/
-object LDAUtils {
+private[clustering] object LDAUtils {
/**
* Log Sum Exp with overflow protection using the identity:
* For any a: \log \sum_{n=1}^N \exp\{x_n\} = a + \log \sum_{n=1}^N \exp\{x_n - a\}