@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Phpml\Math\Statistic; |
6 | 6 | |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | // Ref: https://en.wikipedia.org/wiki/Normal_distribution |
40 | 40 | $std2 = $this->std ** 2; |
41 | 41 | $mean = $this->mean; |
42 | - return exp(- (($value - $mean) ** 2) / (2 * $std2)) / sqrt(2 * $std2 * pi()); |
|
42 | + return exp(-(($value - $mean) ** 2) / (2 * $std2)) / sqrt(2 * $std2 * pi()); |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | /** |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Phpml\Helper; |
6 | 6 |