First time ratings were correct for the first test!

(Probability of ranking needs some work of course)
This commit is contained in:
Jeff Moser 2010-10-02 22:02:42 -04:00
parent fc6cd5c961
commit e56fa53348
2 changed files with 1 additions and 2 deletions

@ -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();