Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stompi_update - History and streaming #46

Open
chris-english opened this issue Aug 21, 2019 · 0 comments
Open

stompi_update - History and streaming #46

chris-english opened this issue Aug 21, 2019 · 0 comments
Assignees
Labels

Comments

@chris-english
Copy link

chris-english commented Aug 21, 2019

It is exciting to see the preparation and development of mechanism for streaming data in the Matrix Profile suite. I have no code to contribute at this time but some articles and references to worked solutions in R that might be applicable. Attached, one hopes, is a Keogh article, and the link is to a worked solution of the Keogh PLA in R.

Online_Amnesic_Approximation_of_Streaming_Time_Series_Keogh_etal_ICDM_2004.pdf

Keogh PLA in R, among many others.
https://github.com/PetoLau/TSrepr

An application of Laurinec & Lucka to electrical forecasting:

Data Mining and Knowledge Discovery (2019) 33:413–445 https://doi.org/10.1007/s10618-018-0598-2
Laurinec's article: Interpretable multiple data streams clustering with clipped streams representation for the improvement of electricity consumption forecasting Peter Laurinec1 · Mária Lucká1 (Springer)

Multiple streams:
https://github.com/PetoLau/petolau.github.io/blob/master/_Rscripts/10post_ClipStream.R, (to get beyond univariate stream of Streams pkg)
(from above link)
350 # new data from new day
351 data_new <- data_cons[, (((i+(win-1))*period)+1):((i+win)*period)]
352
353 # sliding window of represention
354 clip_new <- repr_matrix(data_new, func = repr_feaclip)
355 data_clip <- cbind(data_clip[, -(1:ncol(clip_new))], clip_new)

So somewhat of a mess above, but if history is going to be kept, it will probably be an approximation. Hope some of this helps.

@franzbischoff franzbischoff self-assigned this Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants