Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
Public Member Functions | |
__construct (int $clustersNumber, int $initialization=self::INIT_KMEANS_PLUS_PLUS) | |
cluster (array $samples) | |
Public Attributes | |
const | INIT_KMEANS_PLUS_PLUS = 2 |
const | INIT_RANDOM = 1 |
Phpml\Clustering\KMeans::cluster | ( | array | $samples | ) |
Implements Phpml\Clustering\Clusterer.