port a keras example: https://keon.io/deep-q-learning/ or https://github.com/matthiasplappert/keras-rl/tree/master/rl/agents