Seeders#

Seeders are responsible for initializing the starting clusters used by certain learners such as K Means, Mean Shift, and Gaussian Mixture.

Create Seeds#

To create k seeds from a dataset:

public function seed(Dataset $dataset, int $k) : array;

Example

use Rubix\ML\Clusterers\Seeders\PlusPlus;

$seeder = new PlusPlus();

$seeds = $seeder->seed($dataset, 10);