Fantasy Football Analysis
Fantasy Football Analysis
An analysis on a free data set from profootballreference.com that has 2019 data on all players that played that year.
Explore the docs »
·
Report Bug
·
Request Feature
Table of Contents
About The Project
Built With
- Powerpoint
- Word
- jupyter notebook
Getting Started
To get a local copy up and running follow these simple steps.
Prerequisites
- Microsoft Office Suite
- PDF Reader
Installation
- Clone the repo
git clone https://github.com/AMeyer89/FantasyFootballAnalysis.git
Description
For this case study I picked Fantasy Football Analysis. I selected this topic because this is my first time participating in a fantasy football league, so I thought it would be helpful to understand all the different analysis in my ESPN fantasy app. Specifically, I would like to understand how the players’ projections are created. I have learned a lot through out this whole project. Seeing all the steps put together helped me understand the complete process of using models and there are many steps. For part one I reviewed my data through for Graph Analysis. Some key steps for this was checking dimensions, variables types, summary statistics, and correlations. After understanding the variable better feature selection and extraction was next. This included selection by removing positions that are not equal to Quarterback, widereceiver, tight end, and running back. Feature Extraction by creating Fantasy Points per Game, Usage per Game, and efficiency (TD/usage) features. For part three I used the LinearRegression model from sklearn.linear_model. My feature matrix consists of Usage/GM and Efficiency (TD/Usage). My target was Fantasy Points (FantasyPoints/GM). I used the train_test_split function to split the data. I set it to train 80% of the data and test it with the remaining 20%. The mean absolute error was 2.73 which means that on average the model was off by roughly 3 fantasy points per game. The model with the lowest absolute error was SVM of 2.36
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE
for more information.
Contact
April Meyer - swim53185@gmail.com
Project Link: https://github.com/AMeyer89/FantasyFootballAnalysis