1. "examples/src/main/scala/org/apache/spark/examples/mllib/BinaryClassification.scala" contains example code that shows how to set regParam.
2. A static method with more than 3 parameters becomes hard to remember and hard to maintain. Please use LogistricRegressionWithSGD's default constructor and setters. -Xiangrui