Text this: Methodology for processing time series using machine learning