Abstract class for implementing R-based clusterers.
DSC_R(...)# S3 method for DSC_R
update(
object,
dsd,
n = 1L,
verbose = FALSE,
block = 10000L,
return = c("nothing", "assignment", "model"),
...
)
further arguments.
a DSC object.
a data stream object.
number of data points taken from the stream.
logical; show progress?
process blocks of data to improve speed.
a character string indicating what update returns. The default is "nothing"
. Other
possible values depend on the DST
. Examples are "model"
and "assignment"
.
Michael Hahsler
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.
Other DSC:
DSC_Macro()
,
DSC_Micro()
,
DSC_SlidingWindow()
,
DSC_Static()
,
DSC_TwoStage()
,
DSC()
,
animate_cluster()
,
evaluate.DSC
,
get_assignment()
,
plot.DSC()
,
predict()
,
prune_clusters()
,
read_saveDSC
,
recluster()