Prediction with Regression

Learn how to understand relationships between variables and make predictions using the concept of regression.

ML beyond classification

So far we have solved pattern identification problems that involved classifying objects into categories using the ML process. We have classified movies into two categories, and we have also seen an extension of this concept where galaxies had to be categorized into more than two categories. Your ML toolbox now has the classification tool to identify interesting patterns in data and categorize them into classes. Let’s try solving another problem using our ML toolbox.

It’s soccer season, you are a Champions League fan, and your favorite UEFA team is playing! The competition is tough; all teams have top players, and the title will go to the best team who wins across the league and knockout phases. It all depends on the number of goals each team scores in the matches they play and if these are good enough to win the match.

As a sports enthusiast, you really want to predict how many matches your favorite team will win in this year’s league. But wait! Whether a team wins a match or loses it, depends on the goals scored during the match.

That was straightforward! You are lucky because you got hold of the data of the number of wins of teams in the previous year’s league matches. However, this information alone is not sufficient to know which teams can really achieve the maximum wins in this year’s league. What if we also had data of the number of goals each team scored in the season? This might help figure out the pattern of wins that the teams displayed. Let’s look at both these stats below:

Get hands-on with 1400+ tech skills courses.