The surprising efficiency of temporal difference learning for rare event prediction