[SPARK-9913] [MLLIB] LDAUtils should be private
feynmanliang Author: Xiangrui Meng <meng@databricks.com> Closes #8142 from mengxr/SPARK-9913.
This commit is contained in:
parent
7035d880a0
commit
caa14d9dc9
|
@ -22,7 +22,7 @@ import breeze.numerics._
|
||||||
/**
|
/**
|
||||||
* Utility methods for LDA.
|
* Utility methods for LDA.
|
||||||
*/
|
*/
|
||||||
object LDAUtils {
|
private[clustering] object LDAUtils {
|
||||||
/**
|
/**
|
||||||
* Log Sum Exp with overflow protection using the identity:
|
* 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\}
|
* For any a: \log \sum_{n=1}^N \exp\{x_n\} = a + \log \sum_{n=1}^N \exp\{x_n - a\}
|
||||||
|
|
Loading…
Reference in a new issue