Machine learning prediction of H adsorption energies on Ag alloys