DST_Multi | R Documentation |
Apply multiple task (DST) to the same data stream. The tasks can be accessed
as a list as $dsts
.
DST_Multi(dsts)
dsts |
a list of DST objects. |
Michael Hahsler
set.seed(1500)
stream <- DSD_Gaussians(k = 3, d = 2)
## define multiple tasks as a list
tasks <- DST_Multi(list(
DSAggregate_Window(horizon = 10),
DSC_DStream(gridsize = 0.1)
))
tasks
## update both tasks with the same stream
update(tasks, stream, n = 1000)
## inspect the results of the tasks
tasks$dsts[[1]]
get_model(tasks$dsts[[1]])
tasks$dsts[[2]]
plot(tasks$dsts[[2]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.