https://123dok.net/document/yev14281-learning-parameters-prediction-markets-kelly-rule-graphical-models.html