Test Failed
Push — master ( 63c63d...01bb82 )
by Arkadiusz
02:44
created
src/Phpml/Math/Statistic/Gaussian.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Phpml/Helper/OneVsRest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Phpml\Helper;
6 6
 
Please login to merge, or discard this patch.