Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix docs regarding win % that beta corresponds to #12

Merged
merged 1 commit into from
Dec 31, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ real skill of player is between :math:`\mu \pm 2\sigma` with 95% confidence. ::
trueskill.Rating(mu=25.000, sigma=8.333)

If some player's rating is higher :math:`\beta` than another player's, the
player may have about 80% of chance to beat the other player. The default value
player may have about a 76% (specifically :math:`\Phi(\frac {1}{\sqrt{2}})`) chance to beat the other player. The default value
of :math:`\beta` is :math:`\frac{ 25 }{ 6 }`.

Ratings will approach real skills through few times of the TrueSkill's Bayesian
Expand Down
4 changes: 2 additions & 2 deletions trueskill/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
MU = 25.
#: Default initial standard deviation of ratings.
SIGMA = MU / 3
#: Default distance that guarantees about 75.6% chance of winning.
#: Default distance that guarantees about 76% chance of winning.
BETA = SIGMA / 2
#: Default dynamic factor.
TAU = SIGMA / 100
Expand Down Expand Up @@ -153,7 +153,7 @@ class TrueSkill(object):
:param mu: the initial mean of ratings.
:param sigma: the initial standard deviation of ratings. The recommended
value is a third of ``mu``.
:param beta: the distance which guarantees about 75.6% chance of winning.
:param beta: the distance which guarantees about 76% chance of winning.
The recommended value is a half of ``sigma``.
:param tau: the dynamic factor which restrains a fixation of rating. The
recommended value is ``sigma`` per cent.
Expand Down