Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/643#discussion_r12333419
--- Diff:
mllib/src/main/scala/org/apache/spark/mllib/optimization/GradientDescent.scala
---
@@ -40,6 +40,8 @@ class GradientDescent(private var gradient: Gradient,
private var updater: Updat
private var numIterations: Int = 100
private var regParam: Double = 0.0
private var miniBatchFraction: Double = 1.0
+ private var stochastic: Boolean = true
--- End diff --
Having both `miniBatchFaction` and `stochastic` is a little confusing. I
understand that you want to skip the sampling part. Can you do a check and skip
sampling if `miniBatchFraction >= 1.0`?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---