Skip to main content

Player Ranking Algorithm benchmarks

Project description

Current PyPi Version Supported Python Versions BSD 3-clause license Documentation Status Codecov Report Github actions tests Github actions tests

Features

  • A common interface for ranking algorithms

  • Elo (Chess & Generic)

  • Glicko2

  • NoSkill (similar to Trueskill, i.e bayesian inference on a bipartite graph)

  • Synthetics benchmarks

  • Basic match maker

  • Matchup replay to calibrate and experiment on real data

  • Model calibration using black-box optimizer Orion

Examples

ranker = ChessElo()
p1 = ranker.new_player((1613 - sub) / div)
p2 = ranker.new_player((1609 - sub) / div)

m1 = Match((p1, 0), (p2, 1)),  # p1 lost (lower score)

win_prob = ranker.win(m)

ranker.update(m)

# P1 lost so its skill got updated down
new_skill = p1.skill()  # 1603.19

WIP

  • NoSkill2

  • Dota2 extracted matches

pip install ranked
https://github.com/Delaunay/Ranked/blob/master/docs/_static/example.png?raw=true

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ranked-1.0.2.tar.gz (20.2 kB view hashes)

Uploaded Source

Built Distribution

ranked-1.0.2-py3-none-any.whl (23.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page