Giter Club home page Giter Club logo

glicko's Introduction

glicko

Implements glicko-2 rating system along with a ffa-team based setup.

Based on http://www.glicko.net/glicko/glicko2.pdf

Wikipedia description:

The Glicko rating system and Glicko-2 rating system are methods for assessing a player's strength in games of skill, such as chess and go. It was invented by Mark Glickman as an improvement of the Elo rating system, and initially intended for the primary use as a chess rating system. Glickman's principal contribution to measurement is "ratings reliability", called RD, for ratings deviation.

https://en.wikipedia.org/wiki/Glicko_rating_system

Additions

I added a team based system where any number of teams can play against eachother in a single match. Each team is given a rank based upon how well it did - where lower is better and where teams can have the same rank if they tie. Players are automatically adjusted in rating based upon the ranking of their team, and a historical log of updates is stored in the player.

glicko's People

Contributors

robkohr avatar filimindji avatar

Stargazers

Chauncey McAskill avatar Magnus Allison avatar Tony Ivanov avatar Mithul Nallaka avatar  avatar Hélder Pereira avatar  avatar JotaPe or Bino avatar Akira Ikeda avatar Robert Gentel avatar transmission line avatar Nate Noonen avatar  avatar Ramón Berrutti avatar Jaayden Halko avatar William Wenge-Murphy avatar (afro)TekGod avatar Sharad K avatar Dario Krešan avatar Tom Hummel avatar Brice Shatzer avatar Timur Kuchkarov avatar Carim A avatar  avatar Josh avatar Adrian avatar  avatar  avatar Fabio S. avatar Siva Kumar Tangudu avatar  avatar Keith Lee avatar David J. Hamilton avatar Michał Kuklis avatar Mat Tyndall avatar Lewis Lane avatar Chris Esplin avatar Emil avatar Joseph R Jones avatar Jeff Stout avatar  avatar Mark McBride avatar Barry Sears avatar Pelle Wessman avatar  avatar Heungsub Lee avatar

Watchers

 avatar  avatar Emil avatar James Cloos avatar  avatar

glicko's Issues

Possible error in step 5.2.

Hi,

I've been using your JavaScript implementation to compare to a Java one on which I've been working. I think there is an error in your formula at step 5.2 of Glickman's paper (second bullet point at the top of p3).

Line 138 of your code says:

if( pow(delta,2) > (pow(p.vol,2) + v) ){
    var B = ln(pow(delta,2) - pow(p.rd2,2), v);

I think the first line is wrong and should use the rating deviation, not the volatility.

if( pow(delta,2) > (pow(p.rd2,2) + v) ){
    var B = ln(pow(delta,2) - pow(p.rd2,2), v);

The second line also looks a bit odd as you're passing "v" into the "ln" function as a second parameter. Shouldn't it be as follows?

var B = ln(pow(delta,2) - pow(p.rd2,2) - v);

J.

Error in calculating B in step 5.2

In glicko.js line 139 (step 5.2) you have:

var B = ln(pow(delta,2) - pow(p.rd2,2) , v);

which should be

var B = ln(pow(delta,2) - pow(p.rd2,2) - v);

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.