Unsupervised anomaly detection in time-series