| DSC_R | R Documentation |
Abstract class for implementing R-based clusterers.
DSC_R(...)
## S3 method for class 'DSC_R'
update(
object,
dsd,
n = 1L,
verbose = FALSE,
block = 10000L,
return = c("nothing", "assignment", "model"),
...
)
... |
further arguments. |
object |
a DSC object. |
dsd |
a data stream object. |
n |
number of data points taken from the stream. |
verbose |
logical; show progress? |
block |
process blocks of data to improve speed. |
return |
a character string indicating what update returns. The default is |
DSC_R cannot be instantiated.
Implementing new Classes
To implement a new clusterer you need to create an S3 class with elements description and
RObj. RObj needs to be a reference class with methods:
cluster(newdata, ...)
get_microclusters(...)
get_microweights(...)
get_macroclusters(...)
get_macroweights(...)
microToMacro(micro, ...)
See DSC for details and parameters.
DSC_R cannot be instantiated.
Michael Hahsler
Other DSC:
DSC(),
DSC_Macro(),
DSC_Micro(),
DSC_SlidingWindow(),
DSC_Static(),
DSC_TwoStage(),
animate_cluster(),
evaluate.DSC,
get_assignment(),
plot.DSC(),
predict(),
prune_clusters(),
read_saveDSC,
recluster()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.