stream <- DSD_Gaussians(k = 3, d = 2, noise = 0.05)
# Use a moving window for "micro-clusters and recluster with HC (macro-clusters)
cl <- DSC_TwoStage(
micro = DSC_Window(horizon = 100),
macro = DSC_Hierarchical(h = .1, method = "single")
)
update(cl, stream, 500)
cl
plot(cl, stream)
Run the code above in your browser using DataLab