We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e90e17c + 9e2e135 commit cd2afd3Copy full SHA for cd2afd3
src/Config/Config.php
@@ -60,7 +60,7 @@ class Config
60
Normalize the score to be between -1 and 1 using an alpha that
61
approximates the max expected value
62
*/
63
- public function normalize($score, $alpha = 15)
+ public static function normalize($score, $alpha = 15)
64
{
65
$norm_score = $score/sqrt(($score*$score) + $alpha);
66
return $norm_score;
0 commit comments