Unsupervised Representation Learning for Time Series with Temporal Neighborhood Coding