Home
last modified time | relevance | path

Searched refs:dimention (Results 1 – 4 of 4) sorted by relevance

/plugin/aichat/vendor/bdelespierre/php-kmeans/src/KMeans/
DSpace.php31 protected $dimention; variable in KMeans\\Space
35 public function __construct($dimention) argument
37 if ($dimention < 1) {
41 $this->dimention = $dimention;
61 if (count($coordinates) != $this->dimention) {
86 return $this->dimention;
95 $min = $this->newPoint(array_fill(0, $this->dimention, null));
96 $max = $this->newPoint(array_fill(0, $this->dimention, null));
99 for ($n = 0; $n < $this->dimention; $n++) {
115 $point = $this->newPoint(array_fill(0, $this->dimention, null));
[all …]
DCluster.php88 $centroid = $this->space->newPoint(array_fill(0, $this->dimention, 0));
91 for ($n = 0; $n < $this->dimention; $n++) {
96 for ($n = 0; $n < $this->dimention; $n++) {
DPoint.php32 protected $dimention; variable in KMeans\\Point
38 $this->dimention = $space->getDimention();
57 for ($n = 0; $n < $this->dimention; $n++) {
/plugin/aichat/vendor/bdelespierre/php-kmeans/
DREADME.md63 **Note:** the example is given with points of a 2D space but it will work with any dimention >1.