Linear Regression
What Is Linear Regression? Linear regression is one of the simplest and most widely used machine learning algorithms. It looks at the available data and tries to figure out the overall trend that describes all the data — especially when the data points are linearly related (when one increases or decreases, the other follows a similar pattern). This trend is shown as a straight line and it helps in making future predictions. Why the Name “Linear Regression”? The term linear refers to a straight line. In this algorithm, the data features are linearly related — meaning, as one feature changes, the other changes in a consistent way (not always exact, but with a similar trend). The word regression has its roots in statistics and history. The concept was first introduced by Sir Francis Galton in the late 1800s while studying the relationship between parents' heights and their children's heights. He observed that tall parents tended to have tall children, but the children weren’...