Partitioner#

class Partitioner[исходный код]#

Базовые классы: ABC

Divides a sample into k clusters while the component parameters are still unknown.

A partitioning method knows nothing about the families of the mixture, and the partition is hard: every point belongs to exactly one cluster. A method that needs randomness takes it only from the rng argument and does not store a generator in the object; a deterministic method ignores rng.

Methods

partition(X, k, rng)

Divide the sample into k clusters.