Initial pass at getting up to GaussianWeightedSum running

This commit is contained in:
Jeff Moser
2010-09-25 19:26:57 -04:00
parent fa10d276d6
commit f7d76b02a9
5 changed files with 18 additions and 11 deletions

View File

@ -28,11 +28,11 @@ class PlayerSkillsToPerformancesLayer extends TrueSkillFactorGraphLayer
{
$playerPerformance = $this->createOutputVariable($playerSkillVariable->getKey());
$this->addLayerFactor($this->createLikelihood($playerSkillVariable, $playerPerformance));
$currentTeamPlayerPerformances[] = $playerPerformance;
$currentTeamPlayerPerformances[] = &$playerPerformance;
}
$outputVariablesGroups = $this->getOutputVariablesGroups();
$outputVariablesGroups[] = $currentTeamPlayerPerformances;
$outputVariablesGroups = &$this->getOutputVariablesGroups();
$outputVariablesGroups[] = &$currentTeamPlayerPerformances;
}
}