update | R Documentation |
update()
for data stream mining tasks DST.
## S3 method for class 'DST'
update(object, dsd, n = 1L, return = "nothing", ...)
object |
The DST object. |
dsd |
A DSD object with the data stream. |
n |
number of points from |
return |
a character string indicating what update returns. The default is |
... |
Additional arguments are passed on. |
NULL
or a data.frame n
rows containing update information for each data point.
Michael Hahsler
Other DST:
DSAggregate()
,
DSC()
,
DSClassifier()
,
DSOutlier()
,
DSRegressor()
,
DST()
,
DST_SlidingWindow()
,
DST_WriteStream()
,
evaluate
,
predict()
,
stream_pipeline
set.seed(1500)
stream <- DSD_Gaussians(k = 3, d = 2, noise = .1)
dbstream <- DSC_DBSTREAM(r = .1)
assignment <- update(dbstream, stream, n = 100, return = "assignment")
plot(dbstream, stream, type = "both")
# DBSTREAM returns cluster assignments (see DSC_DBSTREAM).
head(assignment)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.