Predictor Version 3
Version 3
The new predictive element I have calculated to be the best to use is a logistic regression machine learning element to predict result of a match. Followed by taking the average xG scored and conceded by both the home and away team to produce an average value for the home team to score and away team to score which then uses a Poisson distribution with these numbers as mean to find the most likely score line with matching result to the first element.
Naive Bayes and Results was selected by testing performance against 3 other predictors that use either Bayes or Logistic regression to predict either scoreline or result. The performance test was accuracy of predicting the correct result even if scoreline was used to train the data as ultimately that is what they are both trying to predict.
Results shown below:
So this is only a small improvement from the old version 2 predictor which got 0.46 but this predictor is still in its first stages and the attributes and data it is being fed are the ones I found optimal for my linear regression model. For example the linear regression model was able to build a relationship between different attributes such as form whereas the classifier views home form and away form entirely separately if 2 teams both have 15/15 form it'll suggest they both align with the category where that team wins and in affect cancel out. So hopefully by changing the relationships and feeding it slightly different attributes this predictor can be pushed further.
The other improvement still to be made is in calculating the means to be used for the Poisson distribution estimators. Currently home average cored and away average conceded are just added and divided by 2 but this may not be the relationship between these variables. It is a logical place to start as you would expect the actual number scored to be half way between what the home team can score and the away team will concede so will do for now. But it may be worth using another machine learning model, probably linear regression to predict team scoring based on these variables.
https://github.com/calumdee/predictorv3
The new predictive element I have calculated to be the best to use is a logistic regression machine learning element to predict result of a match. Followed by taking the average xG scored and conceded by both the home and away team to produce an average value for the home team to score and away team to score which then uses a Poisson distribution with these numbers as mean to find the most likely score line with matching result to the first element.
Naive Bayes and Results was selected by testing performance against 3 other predictors that use either Bayes or Logistic regression to predict either scoreline or result. The performance test was accuracy of predicting the correct result even if scoreline was used to train the data as ultimately that is what they are both trying to predict.
Results shown below:
| ML\Predict | Results | Score |
|---|---|---|
| Bayes | 0.47 | 0.31 |
| Logistic | 0.50 | 0.47 |
So this is only a small improvement from the old version 2 predictor which got 0.46 but this predictor is still in its first stages and the attributes and data it is being fed are the ones I found optimal for my linear regression model. For example the linear regression model was able to build a relationship between different attributes such as form whereas the classifier views home form and away form entirely separately if 2 teams both have 15/15 form it'll suggest they both align with the category where that team wins and in affect cancel out. So hopefully by changing the relationships and feeding it slightly different attributes this predictor can be pushed further.
The other improvement still to be made is in calculating the means to be used for the Poisson distribution estimators. Currently home average cored and away average conceded are just added and divided by 2 but this may not be the relationship between these variables. It is a logical place to start as you would expect the actual number scored to be half way between what the home team can score and the away team will concede so will do for now. But it may be worth using another machine learning model, probably linear regression to predict team scoring based on these variables.
https://github.com/calumdee/predictorv3
Comments
Post a Comment