See also

Documentation for GeneralizedLinearRegression() is available at the following link:

 http://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.ml.regression.GeneralizedLinearRegression

Some of the important API calls within GeneralizedLinearRegression:

  • def setFamily(value: String): GeneralizedLinearRegression.this.type
  • def setLink(value: String): GeneralizedLinearRegression.this.type
  • def setMaxIter(value: Int): GeneralizedLinearRegression.this.type
  • def setRegParam(value: Double): GeneralizedLinearRegression.this.type
  • def setSolver(value: String): GeneralizedLinearRegression.this.type
  • def setFitIntercept(value: Boolean): GeneralizedLinearRegression.this.type

The solver is currently IRLS; a quick reference can be ...

Get Apache Spark 2.x Machine Learning Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.