Towards automatic setup of 18 MeV electron beamline using machine learning Mach. Learn.: Sci. Technol.