Phpml\Clustering\KMeans\Cluster::getPoints PHP 메소드

getPoints() 공개 메소드

public getPoints ( ) : array
리턴 array
    public function getPoints()
    {
        $points = [];
        foreach ($this->points as $point) {
            $points[] = $point->toArray();
        }
        return $points;
    }