Regression Analysis with Python Massaron, L., Boschetti, A. (2016). Regression Analysis with Python. Packt Publishing.
Read Chapter 2 - Approaching Simple Linear Regression
In this chapter, the authors introduce linear regression as a supervised machine learning algorithm used with a continuous target variable.
Read Chapter 4 - Logistic Regression
In this chapter, the authors introduce logistic regression as a supervised machine learning algorithm used with a categorical target variable.