Test Setup Failed
Pull Request — master (#352)
by Pol
02:23
created
src/NeuralNetwork/Network/MultilayerPerceptron.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -142,6 +142,9 @@
 block discarded – undo
142 142
         $this->addLayer(new Layer($nodes, Input::class));
143 143
     }
144 144
 
145
+    /**
146
+     * @param ActivationFunction $defaultActivationFunction
147
+     */
145 148
     private function addNeuronLayers(array $layers, ?ActivationFunction $defaultActivationFunction = null): void
146 149
     {
147 150
         foreach ($layers as $layer) {
Please login to merge, or discard this patch.
src/Clustering/KMeans/Space.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
-     * @param object $point
62
+     * @param Point $point
63 63
      * @param mixed  $data
64 64
      */
65 65
     public function attach($point, $data = null): void
Please login to merge, or discard this patch.