mirror of
https://github.com/furyfire/trueskill.git
synced 2025-01-16 01:47: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();
|
$test = $factorGraph->getUpdatedRatings();
|
||||||
|
|
||||||
// DEBUG: Fix this :)
|
// DEBUG: Fix this :)
|
||||||
//$probabilityOfOutcome = $factorGraph->getProbabilityOfRanking();
|
$probabilityOfOutcome = $factorGraph->getProbabilityOfRanking();
|
||||||
|
|
||||||
return $factorGraph->getUpdatedRatings();
|
return $factorGraph->getUpdatedRatings();
|
||||||
}
|
}
|
||||||
|
@ -152,7 +152,6 @@ class GaussianWeightedSumFactor extends GaussianFactor
|
|||||||
// Potentially look at http://mathworld.wolfram.com/NormalSumDistribution.html for clues as
|
// Potentially look at http://mathworld.wolfram.com/NormalSumDistribution.html for clues as
|
||||||
// to what it's doing
|
// to what it's doing
|
||||||
|
|
||||||
$messages = &$this->getMessages();
|
|
||||||
$message0 = clone $messages[0]->getValue();
|
$message0 = clone $messages[0]->getValue();
|
||||||
$marginal0 = clone $variables[0]->getValue();
|
$marginal0 = clone $variables[0]->getValue();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user