Machine Learning On Clinical Time Series: Classification And Representation Learning