Partitioner#
- class Partitioner[исходный код]#
Базовые классы:
ABCDivides a sample into
kclusters 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
rngargument and does not store a generator in the object; a deterministic method ignoresrng.Methods
partition(X, k, rng)Divide the sample into
kclusters.