@@ -241,6 +241,4 @@ |
||
| 241 | 241 | foreach ($this->clusters as $cluster) { |
| 242 | 242 | $grouped[] = $cluster->getPoints(); |
| 243 | 243 | } |
| 244 | - return $grouped; |
|
| 245 | - } |
|
| 246 | -} |
|
| 244 | + return $grouped |
|
| 247 | 245 | \ No newline at end of file |
@@ -105,6 +105,4 @@ |
||
| 105 | 105 | $str .= '</tr>'; |
| 106 | 106 | } |
| 107 | 107 | $str .= '</table>'; |
| 108 | - return $str; |
|
| 109 | - } |
|
| 110 | -} |
|
| 108 | + return $str |
|
| 111 | 109 | \ No newline at end of file |
@@ -306,7 +306,4 @@ |
||
| 306 | 306 | } |
| 307 | 307 | return $this->labels[0]; |
| 308 | 308 | ======= |
| 309 | - return $node->classValue; |
|
| 310 | ->>>>>>> refs/remotes/php-ai/master |
|
| 311 | - } |
|
| 312 | -} |
|
| 309 | + return $node->classValue |
|
| 313 | 310 | \ No newline at end of file |
@@ -187,6 +187,4 @@ |
||
| 187 | 187 | } |
| 188 | 188 | arsort($predictions, SORT_NUMERIC); |
| 189 | 189 | reset($predictions); |
| 190 | - return key($predictions); |
|
| 191 | - } |
|
| 192 | -} |
|
| 190 | + return key($predictions |
|
| 193 | 191 | \ No newline at end of file |