Dynamic feature selection in medical predictive monitoring by reinforcement learning