save

0th

Percentile

Save and Read DSC Objects

Save and Read DSC objects savely (serializes the underlying data structure). This also works for streamMOA DSC objects.

Usage
saveDSC(object, file, ...) readDSC(file)
Arguments
object
a DSC object.
file
filename.
...
further arguments.
See Also

saveRDS and readRDS.

Aliases
  • save
  • saveDSC
  • readDSC
Examples
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")
Documentation reproduced from package stream, version 1.2-3, License: GPL-3

Community examples

Looks like there are no examples yet.