Text this: Accurate prediction of mega-electron-volt electron beam properties from UED using machine learning