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.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.