Test Failed
Branch master (01bb82)
by Arkadiusz
05:58 queued 03:02
created
src/Phpml/Math/Matrix.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
     }
92 92
 
93 93
     /**
94
-     * @param $column
94
+     * @param integer $column
95 95
      *
96 96
      * @return array
97 97
      *
Please login to merge, or discard this patch.
src/Phpml/Clustering/KMeans/Cluster.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
     }
129 129
 
130 130
     /**
131
-     * @return mixed
131
+     * @return integer
132 132
      */
133 133
     public function count()
134 134
     {
Please login to merge, or discard this patch.
src/Phpml/Clustering/KMeans/Space.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     protected $dimension;
18 18
 
19 19
     /**
20
-     * @param $dimension
20
+     * @param integer $dimension
21 21
      */
22 22
     public function __construct($dimension)
23 23
     {
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
     /**
226 226
      * @param int $clustersNumber
227 227
      *
228
-     * @return array
228
+     * @return Cluster[]
229 229
      */
230 230
     protected function initializeKMPPClusters(int $clustersNumber)
231 231
     {
Please login to merge, or discard this patch.
src/Phpml/Classification/DecisionTree.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
 
167 167
     /**
168 168
      * @param array $records
169
-     * @return DecisionTreeLeaf[]
169
+     * @return null|DecisionTreeLeaf
170 170
      */
171 171
     protected function getBestSplit($records)
172 172
     {
@@ -354,7 +354,6 @@  discard block
 block discarded – undo
354 354
      * each column in the given dataset. The importance values are
355 355
      * normalized and their total makes 1.<br/>
356 356
      *
357
-     * @param array $labels
358 357
      * @return array
359 358
      */
360 359
     public function getFeatureImportances()
@@ -394,7 +393,6 @@  discard block
 block discarded – undo
394 393
      *
395 394
      * @param int $column
396 395
      * @param DecisionTreeLeaf
397
-     * @param array $collected
398 396
      *
399 397
      * @return array
400 398
      */
Please login to merge, or discard this patch.
src/Phpml/Classification/Linear/Adaline.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      * If normalizeInputs is set to true, then every input given to the algorithm will be standardized
53 53
      * by use of standard deviation and mean calculation
54 54
      *
55
-     * @param int $learningRate
55
+     * @param double $learningRate
56 56
      * @param int $maxIterations
57 57
      */
58 58
     public function __construct(float $learningRate = 0.001, int $maxIterations = 1000,
Please login to merge, or discard this patch.
src/Phpml/Classification/Linear/Perceptron.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
      *
76 76
      * Learning rate should be a float value between 0.0(exclusive) and 1.0(inclusive) <br>
77 77
      * Maximum number of iterations can be an integer value greater than 0
78
-     * @param int $learningRate
78
+     * @param double $learningRate
79 79
      * @param int $maxIterations
80 80
      */
81 81
     public function __construct(float $learningRate = 0.001, int $maxIterations = 1000,
Please login to merge, or discard this patch.
src/Phpml/Classification/Linear/DecisionStump.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@
 block discarded – undo
226 226
     /**
227 227
      *
228 228
      * @param type $leftValue
229
-     * @param type $operator
229
+     * @param string $operator
230 230
      * @param type $rightValue
231 231
      *
232 232
      * @return boolean
Please login to merge, or discard this patch.