Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
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.