Regression analysis is the process of estimating the relationship between dependent variables. For example, if a variable y is linearly dependent on variable x, then regression analysis tries to estimate the constants a and b in the equation , which expresses the linear relationship between the variables y and x.
In this chapter, you will learn about the following topics:
- The core idea of regression by performing a simple linear regression on the perfect data from first principles in a Fahrenheit and Celsius conversion example
- Performing linear regression analysis by using the least squares method from the scipy.linalg Python library on perfect and real-world data in the examples of Fahrenheit and Celsius conversion, weight prediction based on height, and flight time duration prediction based on distance
- The gradient descent algorithm...