Clustream_with_kmeans#
- class capymoa.clusterers.Clustream_with_kmeans[source]#
Bases:
MOAClusterer
Clustream clustering algorithm without Macro-clustering.
- __init__(
- schema: Schema | None = None,
- time_window: int = 1000,
- max_num_kernels: int = 100,
- kernel_radi_factor: float = 2,
- k_option: int = 5,
Clustream clusterer with K-means offline clustering.
- Parameters:
schema – The schema of the stream.
time_window – The size of the time window.
max_num_kernels – Maximum number of micro kernels to use.
kernel_radi_factor – Multiplier for the kernel radius
k_option – Number of clusters to use in the k-means offline step