Supervised Learning and the Finite-Temperature String Method for Computing Committor Functions and Reaction Rates