Player Ranking Algorithm benchmarks
Project description
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
Project details
Release history Release notifications | RSS feed
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 details)
Built Distribution
ranked-1.0.2-py3-none-any.whl
(23.7 kB
view details)
File details
Details for the file ranked-1.0.2.tar.gz
.
File metadata
- Download URL: ranked-1.0.2.tar.gz
- Upload date:
- Size: 20.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d5bdf1fb01ca169567926f328c4281064e2040263a4b6aa4c6eedde473f5a0b |
|
MD5 | a9ae51681502fcd008a5ebec3571a85c |
|
BLAKE2b-256 | 738e05962d8150dbe3808615257f4d2fc0afa04ab0022149e9387e2505aa9623 |
File details
Details for the file ranked-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: ranked-1.0.2-py3-none-any.whl
- Upload date:
- Size: 23.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fda4859328eea508844567cee3eb244547145f61a8579c03e2917bb8c17a00a9 |
|
MD5 | 51578f309be8543eec3c9b5981ef538d |
|
BLAKE2b-256 | 34dd2a18ceee1e13067c80a328f4bf714c2534a03fe9c589a4ade3506d87c206 |