Github user mgaido91 commented on a diff in the pull request:
https://github.com/apache/spark/pull/19337#discussion_r141265768
--- Diff: mllib/src/main/scala/org/apache/spark/ml/clustering/LDA.scala ---
@@ -224,6 +224,20 @@ private[clustering] trait LDAParams extends Params
with HasFeaturesCol with HasM
/**
* For Online optimizer only: [[optimizer]] = "online".
*
+ * @group expertParam
+ */
+ @Since("2.3.0")
+ final val epsilon = new DoubleParam(this, "epsilon", "(For online
optimizer)" +
+ " A (positive) learning parameter that controls the convergence of
variational inference.",
+ ParamValidators.gt(0))
--- End diff --
what about using `0.0` to remark that this is a Double?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]