Machine-learning models for analysis of biomass reactions and prediction of reaction energies