Classification of chaotic time series with deep learning