In this chapter, we will learn regression analysis in detail. We will start learning from the regression analysis workflow followed by the linear regression (LR) and generalized linear regression (GLR) algorithms. Then we will develop a regression model for predicting slowness in traffic using LR and GLR algorithms and their Spark ML-based implementation in Scala. Finally, we will learn the hyperparameter tuning with cross-validation and the grid searching techniques. Concisely, we will learn the following topics throughout this end-to-end project:
- An overview of regression analysis
- Regression analysis algorithms
- Learning regression analysis through examples
- Linear regression
- Generalized linear regression
- Hyperparameter tuning and cross-validation