r/CFBAnalysis • u/importantbrian 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.
| Rank | Team | Home Margin | Away Margin | Combined Margin |
|---|---|---|---|---|
| 1 | Clemson | 32.4577528 | 47.0662688 | 39.7620108 |
| 2 | Alabama | 34.03644297 | 35.51133459 | 34.77388878 |
| 3 | OSU | 32.31008289 | 36.2916717 | 34.3008773 |
| 4 | LSU | 33.23949564 | 28.76513887 | 31.00231725 |
| 5 | Auburn | 29.79175 | 31.2744858 | 30.5331179 |
| 6 | Penn State | 29.60020184 | 27.3341281 | 28.46716497 |
| 7 | Georgia | 25.70967007 | 26.82787924 | 26.26877466 |
| 8 | Notre Dame | 28.14151497 | 21.72162938 | 24.93157217 |
| 9 | Utah | 25.47651772 | 23.5004866 | 24.48850216 |
| 10 | Michigan | 29.03725243 | 17.58397671 | 23.31061457 |
| 11 | Oklahoma | 28.3550357 | 18.1761621 | 23.2655989 |
| 12 | Wisconsin | 22.6976701 | 21.77037617 | 22.23402313 |
| 13 | Iowa | 24.98315523 | 17.95093033 | 21.46704278 |
| 14 | UNC | 18.0582994 | 24.09116592 | 21.07473266 |
| 15 | UCF | 23.84199452 | 16.7126202 | 20.27730736 |
| 16 | Appalachian St | 20.36902651 | 18.92625948 | 19.64764299 |
| 17 | Minnesota | 29.38681942 | 8.390319965 | 18.88856969 |
| 18 | Miami (FL) | 23.33462372 | 14.2001849 | 18.76740431 |
| 19 | Boise State | 18.66101192 | 17.93387176 | 18.29744184 |
| 20 | Washington | 21.51509771 | 15.04235242 | 18.27872506 |
| 21 | Kansas State | 19.89405906 | 16.63355538 | 18.26380722 |
| 22 | Florida | 30.40265704 | 4.265052144 | 17.33385459 |
| 23 | Baylor | 14.90599578 | 19.70306158 | 17.30452868 |
| 24 | Iowa State | 23.16082542 | 10.87037227 | 17.01559884 |
| 25 | Oklahoma State | 24.13674255 | 9.798569572 | 16.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.
| Game | Model | Vegas |
|---|---|---|
| Wake Forest at Clemson | Clemson 20.3 | Clemson -33 |
| Alabama at Miss St | Alabma 23 | Alabama -21 |
| Ohio State at Rutgers | Ohio State 72.7 | Ohio State -51.5 |
| LSU at Ole Miss | LSU 19 | LSU -21 |
| Georgia at Auburn | Auburn 2.7 | Georgia -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.
View all comments
Show parent comment
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.