Test Failed
Pull Request — master (#100)
by Никита
04:04
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 2 patches
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.
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/DimensionReduction/KernelPCA.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,9 +136,9 @@
 block discarded – undo
136 136
         $N_K_N = $N->multiply($K_N);
137 137
 
138 138
         return $K->subtract($N_K)
139
-                 ->subtract($K_N)
140
-                 ->add($N_K_N)
141
-                 ->toArray();
139
+                    ->subtract($K_N)
140
+                    ->add($N_K_N)
141
+                    ->toArray();
142 142
     }
143 143
 
144 144
     /**
Please login to merge, or discard this patch.
src/Phpml/Math/LinearAlgebra/EigenvalueDecomposition.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -58,21 +58,21 @@
 block discarded – undo
58 58
     private $V = [];
59 59
 
60 60
     /**
61
-    *	Array for internal storage of nonsymmetric Hessenberg form.
62
-    *	@var array
63
-    */
61
+     *	Array for internal storage of nonsymmetric Hessenberg form.
62
+     *	@var array
63
+     */
64 64
     private $H = [];
65 65
 
66 66
     /**
67
-    *	Working storage for nonsymmetric algorithm.
68
-    *	@var array
69
-    */
67
+     *	Working storage for nonsymmetric algorithm.
68
+     *	@var array
69
+     */
70 70
     private $ort;
71 71
 
72 72
     /**
73
-    *	Used for complex scalar division.
74
-    *	@var float
75
-    */
73
+     *	Used for complex scalar division.
74
+     *	@var float
75
+     */
76 76
     private $cdivr;
77 77
     private $cdivi;
78 78
 
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
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
         $this->trainByLabel($samples, $targets, $labels);
100 100
     }
101 101
 
102
-   /**
102
+    /**
103 103
      * @param array $samples
104 104
      * @param array $targets
105 105
      * @param array $labels
Please login to merge, or discard this patch.
src/Phpml/NeuralNetwork/Training/Backpropagation.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@
 block discarded – undo
33 33
     }
34 34
 
35 35
     /**
36
-     * @param array $layers
37
-     * @param mixed $targetClass
36
+     * @param \Phpml\NeuralNetwork\Layer[] $layers
37
+     * @param integer $targetClass
38 38
      */
39 39
     public function backpropagate(array $layers, $targetClass)
40 40
     {
Please login to merge, or discard this patch.