Modeling Time Series and Sequences: Learning Representations and Making Predictions