Skip to content

A set of analytics and machine learning models with the goal of bring intelligence to the NFL.

Notifications You must be signed in to change notification settings

naivelogic/NFL-smarter-football

Repository files navigation

Smarter Football

A set of analtyics and machine learning models with the goal of bring intelligence to the NFL.

Smarter Football

Topics Coverage

In this repository, there is an accumulation of different projects and notebooks all task with bring machine learning to the NFL. Some are applied data analytics answering questions such do teams perform better over time with a star runningback (stealers) or should teams adopt a duo time-sharing methdology (falcons)? We consider analysis if teams winning the first quarter more likely to win the game and perform better throughout the season.

  • Running Back Analytics
  • NFL Playoff Prediction
  • NFL Play-by-Play Run/Pass Prediction
  • Walkthroughs of applied machine learning pipelines
  • NFL News Analysis (Work In Progress) repo
  • NFL Twitter Analysis Nike - Kaepernick

source: The Future of Next Gen Stats | NFL NEXT

Introduction

Months away from the 2019 NFL season, we take a look back on past NFL team season statistics to build a model to predict if a team is playoff bound or not. 

Machine learning models require much more than individual player and team statistics to determine the outcome of a game, let alone the course of a teams season that is filled with uncertainty to the untrained fan. Nevertheless, as a naive logician, we can attempt to use the odds in our favor and build a machine learner that can provide us an edge and advance the NFL competitiveness.

Data Source

Most related to NFL Play-by-Play (pbp) 2012 - 2017 season is from nflscraoR-data.

For all the articles for the NFL News Analysis, I started scrapping various NFL teams the summer of 2018. Link to the newspaper documentation that I used for article scaping and curation.

Point to remember about causality: One law of data science to keep top of mind: correlation does not imply causation. This is a common statistical phases used to emphasize that a correlation between two variables does not imply that one causes the other.

(In development) Smarter Football - Statistical Inference

My latest journey is understanding the intersection of NFL football and statsitical inference. Through the next couple of notebooks, we will look into the methods for providing insights in the how football decisions are made based on data and making predictions. notebooks in development

  • NFL Birthday Hypothesis Test
  • NFL News Analysis 2018 notebook - Sentement Analysis
  • NFL News Analysis 2019 - LSTM and CNN Deep Learning (Tensorflow/Keras, Fastai/Pytorch)

Core Features

  • Team
  • Opponent
  • Quarter
  • Time
  • Field position
  • Down
  • Yards to go
  • Shotgun formation (0/1)
  • PlayType: pass / run / kickoff/ penalty / punt/ fumble / int / timeout / extra point / field goal
  • PlayDirection -> Pass: left / middle / right -> Run: left end / left tackle / left guard / middle / right guard / right tackle / right end
  • PassDistance (short / deep)
  • Success Measures (Work In Progress)

Theory

A hypothetical model architecture for generating play outcomes given an offense and defense.

source: Michael A. Alcore

About

A set of analytics and machine learning models with the goal of bring intelligence to the NFL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published