The TrueSkill 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, rate_1vs1, quality_1vs1 >>> r1, r2 = Rating(mu=25, sigma=8.333), Rating(mu=30, sigma=8.333) >>> 'Match quality = {:.1%}'.format(quality_1vs1(r1, r2)) 'Match quality = 41.6%' >>> rate_1vs1(r1, r2) (trueskill.Rating(mu=30.768, sigma=7.030), trueskill.Rating(mu=24.232, sigma=7.030))
Links
See Also
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
trueskill-0.2.tar.gz
(16.1 kB
view hashes)