Time Series Transformation for Deep Learning