A non-parametric symbolic approximate representation for long time series