This commit is contained in:
biglyderv 2025-01-28 18:48:03 -05:00
parent 55909b9854
commit e0b5b5ef3d

View file

@ -69,7 +69,7 @@
$matrixe[$una][$unb] = 0;
foreach ($result as $userc) {
$unc = $userc['username'];
$matrixe[$una][$unb] += $matrixf[$una][$unc] * $matrixf[$unc][$unb] / $msum_old;
$matrixe[$una][$unb] += $matrixf[$una][$unc] * $matrixf[$unc][$unb] / $msum_old * pow(count($result),3);
}
$msum += $matrixe[$una][$unb];
$pr[$una] += $prold[$unb] * $matrixe[$una][$unb];