Skip to content

Predicting the Super Bowl LVI Winner using Machine Learning Models.

License

Notifications You must be signed in to change notification settings

stefimaz/Praedico

Repository files navigation

header

Bipasha Goswami LinkedIn -  Bipasha Goswami Briggs Lalor LinkedIn -  Briggs Lalor Stephane Maysn LinkedIn -  Stephane Masyn John Sung LinkedIn -  John Sung

super bowl lvi


Table of Contents


Executive Summary

Praedico is an online application that allows our users to fair a better chance of predicting the winner in the NFL game of football. Without a doubt the value of the NFL betting market is challenging to accurately estimate. However, a total of over 20 Billion US Dollars was expected to be legally wagered in the U.S. on the 2021 NFL and college football seasons, nearly tripling the 7.5 Billion US Dollars wagered in 2020. Coming into 2022, the fourth-largest US state in New York, joined the list of sports betting states on January 8, 2022. Sports betting is legal in 30 states now while 10 additional states are planning to legalize soon.

Now that we explained why we developed of our application, let's go into the methodology behind the building of the app. In our application, we used the CRISP-DM Methodology to help our team stay organized to come up with a solution that predicts the winner of the Super Bowl LVI. By reviewing the code, you will come to know where and how we came up with our secret sauce called the Praedico.

In our MVP, we have created a user friendly dashboard using Steamlit to help users view stats, summary and overall predicitons using interchangeable machine learning models. As we continue to work on our application, we will look to include other sports, the ability to...

  1. Place a wager and add additional features like betting odds

  2. Add loops to automate most efficient model,

  3. Add features to include injury status, QB efficiency and weather components

  4. Once games are played, we will automate scores from the internet to place the incorrect teams to re-run the model

...to enhance our user experience. Please enjoy and may the Praedico be with you!


Requirements

This project leverages python 3.7 Streamlit and scikit-learn.

A conda environment with liabraries listed below and Jupyter Notebook/Lab are required to run the code.

The following library was used:

  1. Scikit Learn - Scikit Learn or Sklearn is one of the most used Python libraries for Data Science, along with others like Numpy, Pandas, Tensorflow, or Keras.

  2. Streamlit - Streamlit turns data scripts into shareable web apps in minutes.

Install the following librarie(s) in your terminal...

pip install -U scikit-learn
pip install streamlit

Data

The CSV files used in our codes were mainly created from https://pro-football-reference.com

csv_file_list


Visualization

Using offensive and deffensive categories to create training Set

training set

Evaluating the samples of Mean Abolute Error of four models shown and using the best mean absolute error

super model

Dataframe Creation

data frame

Showing the scores being predicted

score_predictor

Front end application images

Select the team for analysis

Choose Team

Choose the model

Choose Model

Run the model for projection

Run Praedico

The WINNER is...

Winner Praedico


User Experience

Go to the Anaconda Prompt to launch JupyterLab by typing Jupyter Lab. To use this application simply clone the repository and run the NFL_Dashboard.py in your Jupyter Lab. Open a terminal and input streamlit run NFL_Dashboard.py or simply choose from the two options below.

Please experience Praedico for yourself. Choose between the following...

  1. CLICK https://share.streamlit.io/stefimaz/side_projects/NFL_Dashboard.py

  2. SCAN the QR Reader using the camera from your phone.

QR_Reader


Web Sources

https://pro-football-reference.com

https://sportingnews.com

https://bloomberg.com

https://nfl.com

https://youtu.be/8emUyzczThY

https://www.youtube.com/watch?v=9DtrosZ3bsI&t=412s


License

MIT


About

Predicting the Super Bowl LVI Winner using Machine Learning Models.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published