|
| __construct (int $clustersNumber, float $fuzziness=2.0, float $epsilon=1e-2, int $maxIterations=100) |
|
| cluster (array $samples) |
|
| getMembershipMatrix () |
|
|
| generateRandomMembership (int $rows, int $cols) |
|
| getDistanceCalc (int $row, int $col) |
|
| getMembershipRowTotal (int $row, int $col, bool $multiply) |
|
| getObjective () |
| The objective is to minimize the distance between all data points and all cluster centers.
|
|
| initClusters () |
|
| updateClusters () |
|
| updateMembershipMatrix () |
|
◆ __construct()
Phpml\Clustering\FuzzyCMeans::__construct |
( |
int | $clustersNumber, |
|
|
float | $fuzziness = 2.0, |
|
|
float | $epsilon = 1e-2, |
|
|
int | $maxIterations = 100 ) |
◆ cluster()
Phpml\Clustering\FuzzyCMeans::cluster |
( |
array | $samples | ) |
|
◆ getObjective()
Phpml\Clustering\FuzzyCMeans::getObjective |
( |
| ) |
|
|
protected |
The objective is to minimize the distance between all data points and all cluster centers.
This method returns the summation of all these distances
The documentation for this class was generated from the following file:
- lib/mlbackend/php/phpml/src/Phpml/Clustering/FuzzyCMeans.php