Sequence prediction is the application of deep learning. In this article learn sequence prediction using compact prediction tree algorithms in python.