get_centers

0th

Percentile

Get Cluster Centers from a DSC

Gets the cluster centers (micro- or macro-clusters) from a DSC object.

Usage
get_centers(x, type=c("auto", "micro", "macro"), ...)
Arguments
x
The DSC object the centers are being requested from.
type
get centers for micro- or macro-clusters. Auto used the class of dsc to decide.
...
Additional parameters.
Value

A data.frame with the micro- or macro-cluster centers as rows.

See Also

DSC

Aliases
  • get_centers
Examples
stream <- DSD_Gaussians(k=3, d=2)
dstream <- DSC_DStream(gridsize=.1)
update(dstream, stream, 500)
dstream
  
# getting the micro-cluster centers
get_centers(dstream)

# D-Stream also has macro-clusters
get_centers(dstream, type="macro")
Documentation reproduced from package stream, version 1.2-3, License: GPL-3

Community examples

Looks like there are no examples yet.