As a football analyst in Mchezopesa Ltd, I would like to know whether a team playing home or away or if the match is friendly or not affects the number of goals it scores. I would also like to know if those variables affect whether a team wins, losses or draws.
The analysis will be declared a success when we'll be able to create a machine learning model that predicts the number of goals scored in a match given that a team is either playing home or away or if the match is friendly or not.
You have been recruited as a football analyst in a company - Mchezopesa Ltd and tasked to accomplish the task below.
A prediction result of a game between team 1 and team 2, based on who's home and who's away, and on whether or not the game is friendly (include rank in your training).