Passed
Push — master ( b27f08...c0463a )
by Arkadiusz
02:46
created
src/Phpml/Clustering/KMeans/Cluster.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,8 +138,8 @@
 block discarded – undo
138 138
     }
139 139
     
140 140
     /**
141
-    * @param array $newCoordinates
142
-    */
141
+     * @param array $newCoordinates
142
+     */
143 143
     public function setCoordinates(array $newCoordinates)
144 144
     {
145 145
         $this->coordinates = $newCoordinates;
Please login to merge, or discard this patch.
src/Phpml/Classification/Linear/Adaline.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,6 @@
 block discarded – undo
4 4
 
5 5
 namespace Phpml\Classification\Linear;
6 6
 
7
-use Phpml\Classification\Classifier;
8
-
9 7
 class Adaline extends Perceptron
10 8
 {
11 9
 
Please login to merge, or discard this patch.
src/Phpml/SupportVectorMachine/SupportVectorMachine.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,11 +9,11 @@
 block discarded – undo
9 9
 
10 10
 class SupportVectorMachine
11 11
 {
12
-	 use Trainable;
12
+        use Trainable;
13 13
 	 
14
-	 /**
15
-     * @var int
16
-     */
14
+        /**
15
+         * @var int
16
+         */
17 17
     private $type;
18 18
 
19 19
     /**
Please login to merge, or discard this patch.
src/Phpml/Classification/Linear/LogisticRegression.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 namespace Phpml\Classification\Linear;
6 6
 
7
-use Phpml\Classification\Classifier;
8 7
 use Phpml\Helper\Optimizer\ConjugateGradient;
9 8
 
10 9
 class LogisticRegression extends Adaline
Please login to merge, or discard this patch.
src/Phpml/Classification/Linear/Perceptron.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 {
16 16
     use Predictable, OneVsRest;
17 17
 
18
-   /**
18
+    /**
19 19
      * @var array
20 20
      */
21 21
     protected $samples = [];
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         $this->maxIterations = $maxIterations;
84 84
     }
85 85
 
86
-   /**
86
+    /**
87 87
      * @param array $samples
88 88
      * @param array $targets
89 89
      */
Please login to merge, or discard this patch.