Coder Social home page Coder Social logo

ruby-elo's Introduction

International Rugby ELO ranking

We use about 300 head to head games to calculate the ELO rating for the top 15 rugby nations in the world.

  • data.py: get match data from rugbypass
  • utils.py: some ELO functions
  • calc_rating.py: use the match data to calculate ELO

I have updated the ELO function a bit to take into account the match score.

Note that the point difference is distributed as $N(5, 20^2)$

The ELO ranking is very similar to the official ranking

Ranking

(525.1923181277855, 'New Zealand') (519.9448202174954, 'Ireland') (501.59978945294995, 'South Africa') (474.66536763052613, 'France') (454.12017717364716, 'Scotland') (433.493004415046, 'England') (403.27046170830346, 'Australia') (378.88084486591293, 'Wales') (361.9215578609213, 'Fiji') (359.11074359858026, 'Argentina') (339.90522344396925, 'Samoa') (337.13705592623586, 'Japan') (320.0803308618492, 'Tonga') (306.43724969682455, 'Georgia') (284.2410550199534, 'Italy')

Last updated: Aug 2023

ruby-elo's People

Contributors

dirknbr avatar

Watchers

 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.