Deep Learning on Attributed Sequences