I have a Time series of this kind:
timestamp
2019-05-31 16:30:00 94.400000
2019-05-31 16:35:00 92.533333
2019-05-31 16:40:00 93.900000
2019-05-31 16:45:00 93.400000
2019-05-31 16:50:00 93.166667
...
I would like to use Adtk to perform unsupervised anaomaly detection. I've been resampling the historical series every five minutes, but I keep getting the same mistake.
temperatura27 = temperatura27.resample('5T').mean().dropna()
from adtk.detector import SeasonalAD
seasonal_ad = SeasonalAD()
anomalies = seasonal_ad.fit_detect(temperatura27)
plot(temperatura27, anomaly=anomalies, anomaly_color="red", anomaly_tag="marker")
RuntimeError: Series does not follow any known frequency (e.g. second, minute, hour, day, week, month, year, etc.