How to find the peak coordinate from dataset

*爱你&永不变心* 提交于 2019-12-11 11:06:13

问题


I have a group of dataset.

This is the graph I draw using this dataset. How to find the coordinate of peak value from this dataset? Anyone got good java algorithm regarding this issue?


回答1:


For this dataset specifically, I would do the following:

  1. Make the data stationary by taking first differences
  2. Signal when the data is above some threshold level. You can use a fixed threshold or an adaptive threshold (as in this answer for example)

When I use the dataset from this question, for illustration purposes, I get the following in Excel:

That should be easily implementable in Java.

Good luck!



来源:https://stackoverflow.com/questions/48489193/how-to-find-the-peak-coordinate-from-dataset

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!