Giter Site home page Giter Site logo

ufp's Introduction

UFP

The Ultimate Fight Predictor- A fun way to predict the outcome of UFC fights.

Warning(For now)

The current models were trained on scikit-learn 1.20 so predicting on later versions might not work if you are on a different version of scikit-learn

  • model1.pkl is trained on the latest version of scikit-learn!

Use

Install requirements with pip install -r requirements.txt Enter fighter data in the way specified by ./data/example.csv and run main.py with the data you have as a command line argument and predict as the action.

For example just run python main.py and it should use model1.pkl to predict everything in example.csv.

example picks

Data for training

The model was trained on the Ultimate UFC Dataset. If you want to train your own model with the ground work please download the data first.

Background information

  • model1.pkl is trained on a SVM using feature selection
  • The problem is a binary classification where the label is Winner which can be Blue or Red
    • The features are described in the dataset and include some aspects such as betting odds, wins, losses, and height
  • All of the training is done on a 80/20(train/test) split with cross validation on 15 folds

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.