add time-series handling for machine learning (non-ts model) example