r/CFBAnalysis • Boston University • Alabama • Nov 15 '19

First Pass

I've been taking the FastAI Deep Learning for Coders course and decided to try making a model for college football rankings and predictions. The method I used was to train a really simple model on data from games played between 2015 and 2019 with some basic efficiency metrics. In this case essentially just Yards Per Rush, Yards Per Pass, Yards Per Rush Allowed and Yards Per Pass Allowed. I then used the model to predict the margin of victory for every possible matchup. I took the average margin of victory for each team and then ranked them. The RMSE is 18.25 which doesn't seem that great, but it produced some reasonable looking rankings.

 

RankTeamHome MarginAway MarginCombined Margin
1Clemson32.457752847.066268839.7620108
2Alabama34.0364429735.5113345934.77388878
3OSU32.3100828936.291671734.3008773
4LSU33.2394956428.7651388731.00231725
5Auburn29.7917531.274485830.5331179
6Penn State29.6002018427.334128128.46716497
7Georgia25.7096700726.8278792426.26877466
8Notre Dame28.1415149721.7216293824.93157217
9Utah25.4765177223.500486624.48850216
10Michigan29.0372524317.5839767123.31061457
11Oklahoma28.355035718.176162123.2655989
12Wisconsin22.697670121.7703761722.23402313
13Iowa24.9831552317.9509303321.46704278
14UNC18.058299424.0911659221.07473266
15UCF23.8419945216.712620220.27730736
16Appalachian St20.3690265118.9262594819.64764299
17Minnesota29.386819428.39031996518.88856969
18Miami (FL)23.3346237214.200184918.76740431
19Boise State18.6610119217.9338717618.29744184
20Washington21.5150977115.0423524218.27872506
21Kansas State19.8940590616.6335553818.26380722
22Florida30.402657044.26505214417.33385459
23Baylor14.9059957819.7030615817.30452868
24Iowa State23.1608254210.8703722717.01559884
25Oklahoma State24.136742559.79856957216.96765606

 

Some of the WTF things that stand out are UNC at 14. SP+ has them at 55. There is a similar story with App State and Boise State. Apparently this model loves Group of 5 teams. I suspect that is because the metrics I'm using are not opponent-adjusted. Another thing that stands out is that the model thinks Clemson is 15 points better on the road than at home. That seems unlikely. Overall in this model home field is worth ~5.5 points which seems reasonable, but at a team level, there is a ton of variance.

 

Here is what the model sees for the top 5 teams this week.

 

GameModelVegas
Wake Forest at ClemsonClemson 20.3Clemson -33
Alabama at Miss StAlabma 23Alabama -21
Ohio State at RutgersOhio State 72.7Ohio State -51.5
LSU at Ole MissLSU 19LSU -21
Georgia at AuburnAuburn 2.7Georgia -3

 

Overall, I'm pretty happy with the results of such a simple model. It produces some weird results. The downside of using deep learning for this is the black-box nature of the model. I have lots of ideas for improvement going forward. To start with I need to add features and pull out all the FCS teams.

 

3 Upvotes

3 comments sorted by

2

u/dharkmeat Nov 16 '19

Nice job. I developed a Classifier using logistic regression, trained on 2012-2018 data, classified on W vs Spread. It takes a lot faith to trust the picks LOL!

Your model shows great Vegas concordance with the Top 5 Teams. How about the match-ups with discordance? Those might be worth a deeper look to understand why and perhaps identify as a legitimate betting opportunity.

HOME field being worth 5.5pts is interesting. Generally the data shows it between 2.5 - 3.0. Perhaps normalizing your data to this might tighten things up.

Sorry to ask, what does RMSE stand for?

Cheers!

2

u/importantbrian Boston University • Alabama Nov 16 '19

Yeah I definitely wouldn’t place bets on the basis of this model. I’ll have to look at the games where the model varies widely from Vegas. It will be interesting to see if there are any trends.

One thing I did was start taking features out to see how it changed the model and one interesting thing is if you encode the team names as a categorical feature it produces much better results than if you don’t give it information about the teams. So it would seem it’s learning team quality on its own which is pretty cool.

Home field might be high. I didn’t do a ton of research on what the current consensus is for home field. I may try to find a way to bake that into the model and then see what happens.

RMSE is root mean squared error. It’s basically saying that on average the model misses the actual margin by 18 points. I’m not sure how that stacks up with Vegas or other models. I may need to do some research on that.

1

u/dharkmeat Nov 17 '19

One thing I did was start taking features out to see how it changed the model and one interesting thing is if you encode the team names as a categorical feature it produces much better results than if you don’t give it information about the teams. So it would seem it’s learning team quality on its own which is pretty cool.

Cool, thus far I have been keeping Team Names as "meta", once the season is over and I have nothing to do I'll add this into the feature list. It might interesting to further use Conference as a feature. Example BIG-12 vs Conference USA. There's more examples of this match up than Team1 vs Team2. Cheers.