Using K-Means for anomaly detection for time series data with InfluxDB and Chronograf
EKG Data from: https://www.kaggle.com/ecerulm/apneaecg
https://www.influxdata.com/blog/why-use-k-means-for-time-series-data-part-one/ https://www.influxdata.com/blog/why-use-k-means-for-time-series-data-part-two/ https://www.influxdata.com/blog/why-use-k-means-for-time-series-data-part-three/
anomaly.txt
norm.text
Use Kmeans to reconstruct the data, set threshold, detect anomalies, write error to InfluxDB with python CL:
Anomaly_Detection.ipynb