NFL data mining project implementing a decision tree, random forest, and elo rating system.
- decision_tree.R
- Decision tree implementation
- cross_validation.R
- Cross validation implementation
- clean_for_decision_tree.R
- Cleaning script for decision tree
- random_forest.R
- Implements a random forest model
- elo_and_simulation.ipynb
- Implements the Elo rating system for NFL team ranking
- Simulations for the following:
- Win/Loss predictions for the rest of the 2023 regular season
- Playoff probability predictions based on the NFL playoff bracket
- Postseason probability predictions based on predicted regular season Win/Loss and simulated playoff
- get_espn_data.py
- Using the
requests
library the script scraps the ESPN NFL API for data relevant data from current 2023 season
- Using the