mirror of
https://github.com/furyfire/trueskill.git
synced 2025-01-15 17:37:39 +00:00
First time ratings were correct for the first test!
(Probability of ranking needs some work of course)
This commit is contained in:
@ -56,7 +56,7 @@ class FactorGraphTrueSkillCalculator extends SkillCalculator
|
||||
$test = $factorGraph->getUpdatedRatings();
|
||||
|
||||
// DEBUG: Fix this :)
|
||||
//$probabilityOfOutcome = $factorGraph->getProbabilityOfRanking();
|
||||
$probabilityOfOutcome = $factorGraph->getProbabilityOfRanking();
|
||||
|
||||
return $factorGraph->getUpdatedRatings();
|
||||
}
|
||||
|
@ -152,7 +152,6 @@ class GaussianWeightedSumFactor extends GaussianFactor
|
||||
// Potentially look at http://mathworld.wolfram.com/NormalSumDistribution.html for clues as
|
||||
// to what it's doing
|
||||
|
||||
$messages = &$this->getMessages();
|
||||
$message0 = clone $messages[0]->getValue();
|
||||
$marginal0 = clone $variables[0]->getValue();
|
||||
|
||||
|
Reference in New Issue
Block a user