Time series data | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Time series data

I would like two compare two/more time series data (data are acquired slightly different times. acquired every other seconds for a month). And possibly find anomaly if there is any strange point in one of the data. How do i do that in python?

16th Jun 2018, 12:29 PM
Zin Min Thant
2 Answers
+ 6
There are at least a few approaches to anomaly detection, of which I can recommend the machine learning-based ones. In particular, kNN should do the trick as it will show the outliers pretty quickly (the average or median of the distances to k nearest neighbors will be significantly higher for distant/remote/anomalous datapoints).
16th Jun 2018, 2:34 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
0
I managed to compare the time shift between the two data using numpy.fft.
19th Jun 2018, 7:35 PM
Zin Min Thant