@@ -30,7 +30,7 @@ |
||
30 | 30 | } |
31 | 31 | |
32 | 32 | /** |
33 | - * @param mixed $targetClass |
|
33 | + * @param integer $targetClass |
|
34 | 34 | */ |
35 | 35 | public function backpropagate(array $layers, $targetClass) |
36 | 36 | { |
@@ -88,6 +88,7 @@ |
||
88 | 88 | |
89 | 89 | /** |
90 | 90 | * @throws MatrixException |
91 | + * @param integer $column |
|
91 | 92 | */ |
92 | 93 | public function getColumnValues($column) : array |
93 | 94 | { |
@@ -256,7 +256,6 @@ |
||
256 | 256 | * |
257 | 257 | * The probability is simply taken as the distance of the sample |
258 | 258 | * to the decision plane. |
259 | - |
|
260 | 259 | * @param mixed $label |
261 | 260 | */ |
262 | 261 | protected function predictProbability(array $sample, $label) : float |