Skip to content

American Football match winner prediction artificial intelligence

License

Notifications You must be signed in to change notification settings

CorvusCodex/AmericanFootballAi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AmericanFootballAi

AmericanFootballAi is a match prediction artificial intelligence that uses machine learning to predict the winning team of the next football match.

Installation

To install AmericanFootballAi, you will need to have Python 3.x and the following libraries installed:

  • numpy
  • tensorflow
  • keras
  • art

For people without technical experience you can buy the compiled standalone application for windows from here:

https://www.buymeacoffee.com/CorvusCodex/e/165468

You can install these libraries using pip by running the following command:

'''pip install numpy tensorflow keras art'''

Usage

To use AmericanFootballAi, you will need to have a data file containing past football results. This file should be in a comma-separated format, with each row representing a single match and the numbers, rows are in new line without comma. Team 1 must be on the left and team 2 on the right side.

Once you have the data file, you can run the americanfootballai.py script to train the model and generate prediction. The script will print the generated winner to the console.

If dataset is needed you can order one from here https://www.buymeacoffee.com/CorvusCodex/

Support my work & Research:

BTC: bc1q7wth254atug2p4v9j3krk9kauc0ehys2u8tgg3
ETH & BNB: 0x68B6D33Ad1A3e0aFaDA60d6ADf8594601BE492F0
Buy me a coffee: https://www.buymeacoffee.com/CorvusCodex

Disclaimer

The code within this repository comes with no guarantee, the use of this code is your responsibility. I take NO responsibility and/or liability for how you choose to use any of the source code available here. By using any of the files available in this repository, you understand that you are AGREEING TO USE AT YOUR OWN RISK. Once again, ALL files available here are for EDUCATION and/or RESEARCH purposes ONLY. Please keep in mind that while AmericanFootballAi uses advanced machine learning techniques to predict next match result, there is no guarantee that its predictions will be accurate. Football results are inherently random and unpredictable, so it is important to use AmericanFootballAi responsibly and not rely solely on its predictions.

MIT License

Copyright (c) 2023 CorvusCodex

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.