Github user liancheng commented on a diff in the pull request:
https://github.com/apache/spark/pull/166#discussion_r10695930
--- Diff:
mllib/src/main/scala/org/apache/spark/mllib/optimization/GradientDescent.scala
---
@@ -32,10 +32,10 @@ import scala.collection.mutable.ArrayBuffer
class GradientDescent(var gradient: Gradient, var updater: Updater)
extends Optimizer with Logging
{
- private var stepSize: Double = 1.0
- private var numIterations: Int = 100
- private var regParam: Double = 0.0
- private var miniBatchFraction: Double = 1.0
+ protected var stepSize: Double = 1.0
+ protected var numIterations: Int = 100
+ protected var regParam: Double = 0.0
+ protected var miniBatchFraction: Double = 1.0
--- End diff --
Indentation error, should be 2 spaces.
---
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.
---