| License | GPL-3 |
|---|---|
| Maintainer | prillan91@gmail.com |
| Stability | experimental |
| Safe Haskell | None |
| Language | Haskell2010 |
Ranking.Glicko.Inference
Description
This module provides functions for predicting the outcome of a game between two players.
Example usage:
>>>:l test/Paper.hs>>>:m + Data.Default>>>let p1:p2:_ = compute players matches def>>>p1Player { _pid = 1 , _rating = 1464.0506705393013 , _dev = 151.51652412385727 , _vol = 5.9995984286488495e-2 , _inactivity = 0 , _age = 1 }>>>p2Player { _pid = 2 , _rating = 1398.1435582337338 , _dev = 31.67021528115062 , _vol = 5.999912372888531e-2 , _inactivity = 0 , _age = 1 }>>>predict p1 p20.5732533698644847 -- Player 1 has a 57.3% chance of winning a single game.>>>let Just f = boX 5>>>predictBoX f p1 p20.6353973157904573 -- Player 1 has a 63.5% chance of winning a best-of-five match.