Linear Regression
In the previous chapters, we have explored the core concepts of probability and statistics and emphasised that they underpin the foundations of machine learning and data science. Now, it’s time to explore the practical application of these concepts in the world of machine learning.
One of the most prevalent objectives in statistics is to determine whether there exists a relationship between two or more variables. If such a relationship does exist, the next step is to determine the nature of the relationship and whether it can be used to predict a value. There exists a technique that bridges the domains of statistics and machine learning, particularly in the field of prediction, where the objective is to anticipate a desired outcome by analysing the values of other contributing factors.
This effective technique is called Linear regression which aims to fit a line through data points, revealing the relationship between two or more variables, and make predictions on new, unobserved data.