So, for off-line usage, you have the dataset, you put a date/time as the 1st column in a data.frame and a numeric one as the second, and you feed it to AnomalyDetectionTs()
This way you can get an off-line graph via $plot (not being re-rendered as new data come) and the actual anomalous entries on $anoms
But what if you wish to use it not for offline data, but for streaming data?
Can you get a responsive graph? and most importantly, can you get the increasing number of anomalies?
Or is the idea to merge the data into a big dataset and run it every X minutes/hours/etc with an "only_last" value?
So, for off-line usage, you have the dataset, you put a date/time as the 1st column in a data.frame and a numeric one as the second, and you feed it to AnomalyDetectionTs()
This way you can get an off-line graph via $plot (not being re-rendered as new data come) and the actual anomalous entries on $anoms
But what if you wish to use it not for offline data, but for streaming data? Can you get a responsive graph? and most importantly, can you get the increasing number of anomalies?
Or is the idea to merge the data into a big dataset and run it every X minutes/hours/etc with an "only_last" value?