-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
MovingTimeWindow but for other x #220
Comments
I don't think I want OnlineStats to handle units of time when That being said, there doesn't seem to be a simple way to convert data of seconds typed as |
Sorry, I wasn't especially clear: the domain of the window doesn't need to be time, in fact it is entirely irrelevant what it represents in real life, it can be oranges, height, temperatures, percent, time, etc. The point is that some of these can be floats, some integers, some rationals, and some time. Right now, the only way we can define a window is in terms of one of these, |
Hmm okay. I think I'm still missing one piece. This is from the
|
The last "x" value. So in the following case
for a window of
and therefore only:
are kept in the collection. |
Ah, okay! I'm with you now! I think it would make the most sense as a new type, |
I totally agree that this should not be some weird version of |
MovingTimeWindow
is great when the windowing acts onTimeType
s. It would be great to have a more general one that doesn't restrict the type of the windowing variable to aTimeType
. Imagine a situation where the windowing variable is seconds as floats for instance.The text was updated successfully, but these errors were encountered: