Passed
Push — master ( c0463a...e1854d )
by Arkadiusz
02:54
created
src/Phpml/Classification/Linear/Perceptron.php 2 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.