Look! Charles Oliveira has 52% to 48% fight odds against Connor Mcgregor!
A Jupyter Notebook that cleans a UFC dataset and utilizes 6 different machine learning models to predict future UFC fight outcomes. The models with their respected accuracies: Logistic Regression = 78.99%, Random Forest = 81.98%, Decision Trees = 77.06%, Naive Bayes Model = 74.94%, KNN = 79.26%, and CSM = 79.1%. The highest one being Random Forest, Hence is used as the model for the predicting function on the bottom of the notebook.- Clone the repo
git clone https://github.com/Ch3mson/ufc-predictor
- Change directory to project and ensure Python3 and pip are installed
pip install -r requirements.txt
- Ensure Jupyter Notebook extension is insalled on your IDE (VSCode)
- Run notebook and adjust your desired values in the last cell. Example:
match_probability('Conor McGregor', 'Charles Oliveira')