Completed
Push — master ( 72b25f...1d7350 )
by Arkadiusz
04:38
created
src/Phpml/Classification/Ensemble/Bagging.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,10 +6,8 @@
 block discarded – undo
6 6
 
7 7
 use Phpml\Helper\Predictable;
8 8
 use Phpml\Helper\Trainable;
9
-use Phpml\Math\Statistic\Mean;
10 9
 use Phpml\Classification\Classifier;
11 10
 use Phpml\Classification\DecisionTree;
12
-use Phpml\Classification\NaiveBayes;
13 11
 
14 12
 class Bagging implements Classifier
15 13
 {
Please login to merge, or discard this patch.
src/Phpml/Classification/DecisionTree.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
 
137 137
     /**
138 138
      * @param array $records
139
-     * @return DecisionTreeLeaf[]
139
+     * @return null|DecisionTreeLeaf
140 140
      */
141 141
     protected function getBestSplit($records)
142 142
     {
Please login to merge, or discard this patch.