Git Product home page Git Product logo

fargoprediction's Introduction

fargoPrediction

This project computes the likelyhood of match results, given players' FargoRate ratings.

Example usage:

  • Player1 has rating 610 and races to 9
  • Player2 has rating 545 and races to 6

It predicts the most possible outcome of the match is 9:5

$ ./a.out 610 545 9 6
 9: 0	 1.18% ( 1.19% simulated)
 9: 1	 4.14% ( 4.19% simulated)
 9: 2	 8.06% ( 8.10% simulated)
 9: 3	11.51% (11.53% simulated)
 9: 4	13.44% (13.59% simulated)
 9: 5	13.60% (13.48% simulated)
 8: 6	 8.67% ( 8.69% simulated)
 7: 6	 8.73% ( 8.64% simulated)
 6: 6	 8.34% ( 8.28% simulated)
 5: 6	 7.45% ( 7.38% simulated)
 4: 6	 6.10% ( 6.16% simulated)
 3: 6	 4.44% ( 4.40% simulated)
 2: 6	 2.72% ( 2.74% simulated)
 1: 6	 1.27% ( 1.31% simulated)
 0: 6	 0.35% ( 0.32% simulated)

P(Player 1 wins) = 51.93%

Fargo Rate official site: https://www.fargorate.com/

fargoprediction's People

Contributors

slyfox3 avatar

Watchers

James Cloos avatar  avatar

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.