Chapter 4
Linear Regression
Linear regression is one of the most fundamental predictive models in machine learning and statistics. Its origins trace back to the early 19th century, when Legendre and Gauss used linear regression to predict the movement of the planets based on astronomical data.
The main objective in regression analysis is to predict the value of a dependent variable (the target) based on one or more independent variables (the input features). Its applications span a wide range of fields, from forecasting stock prices using various economic indicators to estimating crop yields based on climate data and detecting tumors in CT scans.
In linear regression, we assume that the target variable is a linear function of the input features, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access