Learn R Programming

stream (version 0.1-1)

DSC_BIRCH: BIRCH Data Stream Clusterer

Description

Class implements the BIRCH cluster algorithm for data streams.

Usage

DSC_BIRCH(radius, compact = radius, keeptree = TRUE)

Arguments

radius
The closeness criterion.
compact
The The compactness criterion.
keeptree
A Boolean, whether to keep the CF tree in memory.

Value

  • An object of class DSC_BIRCH (subclass of DSC, DSC_R, DSC_Micro)

Details

Please refer to package BIRCH for more details. It is treated as a micro clusterer within the stream package.

References

Tian Zhang, Raghu Ramakrishnan, Miron Livny, An Efficient Data Clustering Method for Very Large Databases, In SIGMOD '96: Proceedings of the 1996 ACM SIGMOD international conference on Management of data (1996), pp. 103-114

See Also

DSC, DSC_Micro

Examples

Run this code
# 3 clusters with 5% noise
dsd <- DSD_GaussianStatic(k=3, noise=0.05)

dsc <- DSC_BIRCH(radius = .05)
cluster(dsc, dsd, 1000)
dsc

# plot micro-clusters
plot(dsc, dsd)

# reclustering
kmeans <- DSC_Kmeans(k=3)
recluster(kmeans,dsc)
plot(kmeans,dsd)

Run the code above in your browser using DataLab