Test Failed
Push — master ( e8c600...c028a7 )
by Arkadiusz
02:50
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/Ensemble/Bagging.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,10 +6,8 @@
 block discarded – undo
6 6
 
7 7
 use Phpml\Helper\Predictable;
8 8
 use Phpml\Helper\Trainable;
9
-use Phpml\Math\Statistic\Mean;
10 9
 use Phpml\Classification\Classifier;
11 10
 use Phpml\Classification\DecisionTree;
12
-use Phpml\Classification\NaiveBayes;
13 11
 
14 12
 class Bagging implements Classifier
15 13
 {
Please login to merge, or discard this patch.
src/Phpml/Classification/Linear/Adaline.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,9 +4,6 @@
 block discarded – undo
4 4
 
5 5
 namespace Phpml\Classification\Linear;
6 6
 
7
-use Phpml\Helper\Predictable;
8
-use Phpml\Helper\Trainable;
9
-use Phpml\Classification\Classifier;
10 7
 use Phpml\Classification\Linear\Perceptron;
11 8
 
12 9
 class Adaline extends Perceptron
Please login to merge, or discard this patch.
src/Phpml/Classification/Linear/Perceptron.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 namespace Phpml\Classification\Linear;
6 6
 
7 7
 use Phpml\Helper\Predictable;
8
-use Phpml\Helper\Trainable;
9 8
 use Phpml\Classification\Classifier;
10 9
 use Phpml\Preprocessing\Normalizer;
11 10
 
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      */
22 22
     protected static $errorFunction = 'outputClass';
23 23
 
24
-   /**
24
+    /**
25 25
      * @var array
26 26
      */
27 27
     protected $samples = [];
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
         $this->threshold = $threshold;
112 112
     }
113 113
 
114
-   /**
114
+    /**
115 115
      * @param array $samples
116 116
      * @param array $targets
117 117
      */
Please login to merge, or discard this patch.