A Variational Time Series Feature Extractor for Action Prediction