how to update egress attribute of stumpy ? #764
Replies: 2 comments 2 replies
-
As you've discovered, I don't think that is possible. Once the
Off the top of my head, no, there is no other way to do this. Perhaps, if I understand you correctly, when you create new object with One other possibility might be to start with
This may or may not suit your needs. |
Beta Was this translation helpful? Give feedback.
-
Init with |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using stumpy in real time (Event Driven Architecture) for anomlay detection.
I want to change the
egress
value fromFalse
toTrue
after some max history size.At init:
stream = stumpi(value_list, egress=False, m=subsequence_length)
After max length I create a new object with
egress=True
:stream = stumpi.stumpi(stream._T, egress=True, m=subsequence_length)
Is there a simpler and more efficient way to do this ?
By the way I tried updating the private attribute
_egress
ofstream
object but I got some errors.Thanks for your help.
Kind regards,
Ali
Beta Was this translation helpful? Give feedback.
All reactions