Decision Making Under Uncertainty Via Model Inference And Reinforcement Learning: Applications To Railway Networks