@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | |
| 167 | 167 | /** |
| 168 | 168 | * @param array $records |
| 169 | - * @return DecisionTreeLeaf[] |
|
| 169 | + * @return null|DecisionTreeLeaf |
|
| 170 | 170 | */ |
| 171 | 171 | protected function getBestSplit($records) |
| 172 | 172 | { |
@@ -354,7 +354,6 @@ discard block |
||
| 354 | 354 | * each column in the given dataset. The importance values are |
| 355 | 355 | * normalized and their total makes 1.<br/> |
| 356 | 356 | * |
| 357 | - * @param array $labels |
|
| 358 | 357 | * @return array |
| 359 | 358 | */ |
| 360 | 359 | public function getFeatureImportances() |
@@ -394,7 +393,6 @@ discard block |
||
| 394 | 393 | * |
| 395 | 394 | * @param int $column |
| 396 | 395 | * @param DecisionTreeLeaf |
| 397 | - * @param array $collected |
|
| 398 | 396 | * |
| 399 | 397 | * @return array |
| 400 | 398 | */ |