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

MODE aggregation function in Time Series Insights ?? #14

Open
vinod83k opened this issue Jun 9, 2020 · 4 comments
Open

MODE aggregation function in Time Series Insights ?? #14

vinod83k opened this issue Jun 9, 2020 · 4 comments

Comments

@vinod83k
Copy link

vinod83k commented Jun 9, 2020

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Does Azure Time Series Insights supports MODE aggregation function?

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

@shreyasharmamsft
Copy link
Collaborator

@vinod83k Hey, TSI currently doesn't support a mode() aggregation function. Would you be able to share what your use case for it is?

@vinod83k
Copy link
Author

@shreyasharmamsft , we have a requirement to get the data which is occurring more frequently within a certain timeframe. For example, if I get [24,23,24,24,25] sensor values from IOT device per second and within in time-frame of 5 secs. The MODE() function will return 24, because this is the most recurring value in the dataset. Please let me know if you need more details on this.

@vinod83k
Copy link
Author

@shreyasharmamsft , could you please help us in achieving this functionality or suggest something as how we can do this.. ??

@shreyasharmamsft
Copy link
Collaborator

@vinod83k Unfortunately we don't support this functionality yet. It's now something we have in our backlog (thanks to you!) but I cannot comment on when it'll could be made available, yet.

You can use a categorical variable to view the count of times you get each value. You can map to category 1 for a value of 23, category 2 for 24, and category 3 for 25. It wouldn't give you the mode but you can at least get a visualization that will help you determine what the mode is. I hope that helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants