1. A method for detecting anomalies in time series data, comprising the steps of: comparing universal features extracted from testing time series data with the universal features acquired from training time series data to determine a score, wherein the universal features characterize trajectory components of the time series data and stochastic components of the time series data; and detecting an anomaly if the anomaly score is above a threshold, wherein the steps are performed in a processor.