In this chapter, we will cover the following recipes:
- Fitting a linear regression line to data the old-fashioned way
- Generalized linear regression in Spark 2.0
- Linear regression API with Lasso and L-BFGS in Spark 2.0
- Linear regression API with Lasso and auto optimization selection in Spark 2.0
- Linear regression API with ridge regression and auto optimization selection in Spark 2.0
- Isotonic regression in Apache Spark 2.0
- Multilayer perceptron classifier in Apache Spark 2.0
- One versus Rest classifier (One-vs-All) in Apache Spark 2.0
- Survival regression - parametric AFT model in Apache Spark 2.0