Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/16013#discussion_r89675837 --- Diff: core/src/main/scala/org/apache/spark/util/random/SamplingUtils.scala --- @@ -108,14 +111,22 @@ private[spark] object SamplingUtils { private[spark] object PoissonBounds { /** - * Returns a lambda such that Pr[X > s] is very small, where X ~ Pois(lambda). + * Returns a lambda such that + * {{{ + * Pr[X > s] + * }}} + * is very small, where X ~ Pois(lambda). */ def getLowerBound(s: Double): Double = { math.max(s - numStd(s) * math.sqrt(s), 1e-15) } /** - * Returns a lambda such that Pr[X < s] is very small, where X ~ Pois(lambda). + * Returns a lambda such that + * {{{ + * Pr[X < s] + * }}} + * is very small, where X ~ Pois(lambda). --- End diff -- - Java <img width="301" alt="2016-11-27 3 24 50" src="https://cloud.githubusercontent.com/assets/6477701/20642397/305ade4e-b451-11e6-9b8a-eb7f38381588.png"> Scaladoc not found
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org