@@ -75,7 +75,7 @@ |
||
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, |
@@ -97,7 +97,7 @@ |
||
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 |