Skip to content

Commit

Permalink
Update Cluster.php (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
MustafaKarabulut authored and akondas committed Jan 23, 2017
1 parent d19ddb8 commit 95fc139
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Phpml/Clustering/KMeans/Cluster.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,12 @@ public function count()
{
return count($this->points);
}

/**
* @param array $newCoordinates
*/
public function setCoordinates(array $newCoordinates)
{
$this->coordinates = $newCoordinates;
}
}

0 comments on commit 95fc139

Please sign in to comment.