Passed
Pull Request — master (#73)
by Arkadiusz
03:46 queued 57s
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/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   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
         return $this->trainByLabel($samples, $targets, $labels);
98 98
     }
99 99
 
100
-   /**
100
+    /**
101 101
      * @param array $samples
102 102
      * @param array $targets
103 103
      * @param array $labels
Please login to merge, or discard this patch.