Classifying CMB time-ordered data through deep neural networks