Training and prediction time