Searched refs:getClosest (Results 1 – 3 of 3) sorted by relevance
182 $distance = $point->getDistanceWith($point->getClosest($clusters), false);241 $closest = $point->getClosest($clusters);
65 public function getClosest(iterable $points): ?Point function in KMeans\\Point
8 …getClosest=function(t,e,r){if(!1!==r.index)r.index>=0&&r.index<t.length?r.distance=0:r.index=!1;el… property