Text this: Adaptive heartbeat regulation using double deep reinforcement learning in a Markov decision process framework.