openskill.models.weng_lin.common
¶
Common functions for the Weng-Lin models.
Module Contents¶
Functions¶
|
Returns a list of pairs of ranks that are adjacent in the ladder. |
|
Retain the stochastic tenet of a sort to revert original sort order. |
|
Normal cumulative distribution function. |
Normal inverse cumulative distribution function. |
|
|
Normal probability density function. |
|
The function \(V\) as defined in Weng and Lin [2011] |
|
The function \(\tilde{V}\) as defined in Weng and Lin [2011] |
|
The function \(W\) as defined in Weng and Lin [2011] |
|
The function \(\tilde{W}\) as defined in Weng and Lin [2011] |
- openskill.models.weng_lin.common._ladder_pairs(teams)[source]¶
Returns a list of pairs of ranks that are adjacent in the ladder.
- Parameters:
teams (List[Any]) – A list of teams.
- Returns:
A list of pairs of teams that are adjacent in the ladder.
- Return type:
List[List[Any]]
- openskill.models.weng_lin.common._unwind(tenet, objects)[source]¶
Retain the stochastic tenet of a sort to revert original sort order.
- openskill.models.weng_lin.common.phi_major_inverse(x)[source]¶
Normal inverse cumulative distribution function.
- openskill.models.weng_lin.common.v(x, t)[source]¶
The function \(V\) as defined in Weng and Lin [2011]
- openskill.models.weng_lin.common.vt(x, t)[source]¶
The function \(\tilde{V}\) as defined in Weng and Lin [2011]