@@ -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, |
@@ -11,7 +11,6 @@ |
||
11 | 11 | use Phpml\Classification\Classifier; |
12 | 12 | use Phpml\Preprocessing\Normalizer; |
13 | 13 | use Phpml\IncrementalEstimator; |
14 | -use Phpml\Helper\PartiallyTrainable; |
|
15 | 14 | |
16 | 15 | class Perceptron implements Classifier, IncrementalEstimator |
17 | 16 | { |