read_saveDSC | R Documentation |
Save and Read DSC objects safely (serializes the underlying data structure). This also works for streamMOA DSC objects.
saveDSC(object, file, ...)
readDSC(file)
object |
a DSC object. |
file |
filename. |
... |
further arguments. |
Michael Hahsler
saveRDS
and readRDS
.
Other DSC:
DSC()
,
DSC_Macro()
,
DSC_Micro()
,
DSC_R()
,
DSC_SlidingWindow()
,
DSC_Static()
,
DSC_TwoStage()
,
animate_cluster()
,
evaluate.DSC
,
get_assignment()
,
plot.DSC()
,
predict()
,
prune_clusters()
,
recluster()
stream <- DSD_Gaussians(k = 3, noise = 0.05)
# create clusterer with r = 0.05
dbstream1 <- DSC_DBSTREAM(r = .05)
update(dbstream1, stream, 1000)
dbstream1
saveDSC(dbstream1, file="dbstream.Rds")
dbstream2 <- readDSC("dbstream.Rds")
dbstream2
## cleanup
unlink("dbstream.Rds")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.