Description Usage: Arguments: Examples
Class creates an object to hold three parameters used in the TrueSkill algorithm. Passed to AdjustPlayer and Trueskill to perform calculations and update the Player objects or data. The default parameters object is: "Parameters [(beta, epilson, gamma)]: [(4.167, 0.74, 0.083)]" where the default inputs are: INITIAL_MU = 25.0 INITIAL_SIGMA = INITIAL_MU / 3.0 INITIAL_BETA = INITIAL_SIGMA / 2.0 INITIAL_GAMMA = INITIAL_SIGMA / 100.0 DRAW_PROBABILITY = 0.10 INITIAL_EPSILON = DrawMargin(DRAW_PROBABILITY, BETA)
Parameters(beta, epsilon, gamma)
is a measure of how random the game is.
probability that game ends in a draw. Can be calculated from DrawProbability function.
is a small amount by which a player's uncertainty (sigma) is increased prior to the start of each game.
1 2 3 4 5 | parameters <- Parameters()
# alternatively and equiavelently
draw_margin <-DrawMargin(draw_probability = 0.10, beta = 25 / 6, total_players = 2)
parameters <- Parameters(beta = 25 / 6, epsilon = draw_margin, gamma = 25 / 300)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.