Skip to main content

A Bayesian Skill Rating System

Project description

An implementation of the TrueSkill algorithm for Python. TrueSkill is a rating system among game players and it is used on Xbox Live to rank and match players.

>>> from trueskill import Rating, transform_ratings
>>> p1, p2, p3, p4 = Rating(), Rating(), Rating(), Rating()
>>> team1, team2, team3 = (p1,), (p2, p3), (p4,)
>>> transform_ratings([team1, team2, team3]) #doctest: +NORMALIZE_WHITESPACE
[(Rating(mu=35.877, sigma=6.791),),
 (Rating(mu=17.867, sigma=7.059), Rating(mu=17.867, sigma=7.059)),
 (Rating(mu=21.255, sigma=7.155),)]

See Also

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

trueskill-0.1-dev.tar.gz (5.8 kB view details)

Uploaded Source

File details

Details for the file trueskill-0.1-dev.tar.gz.

File metadata

  • Download URL: trueskill-0.1-dev.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for trueskill-0.1-dev.tar.gz
Algorithm Hash digest
SHA256 a9b6fba127d2afb3dcd6413a7cc5b5ee2187ad3abcf9cf2e2e8668e0fc37fdd7
MD5 000bb8511f636228a5f1c14ac45e623a
BLAKE2b-256 0a5a217398aec83efbdd0daa5a7c8e960acd681ad68ca7765fc95df55eced1bf

See more details on using hashes here.

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