Abstract Hydraulic axial turbines are more frequently utilized for grid regulation purposes. Sometimes, they must be operated at speed-no-load (SNL) conditions, which is characterized for some machines by a varying number of large vortical flow structures extending from the vaneless space to the draft tube, introducing detrimental pressure pulsations throughout the turbine. A recent study shows that the vortices can be mitigated by individually controlling the guide vanes. Since optimization of the distributor layout is linked with a large degree-of-freedom, machine learning is deployed to assist in finding an optimal setup cost-effectively. A reduced numerical computational-fluid-dynamics (CFD) model is built and used to generate input for Gaussian process regression surrogate models by performing 2000 steady-state simulations with varying distributor layouts. The surrogate models suggest that the optimal layout is to open seven out of 20 guide vanes in succession while keeping the remaining ones closed. However, this configuration induces large radial forces on the runner, and after implementing some modifications by trial and error, detailed time-dependent CFD simulations show that placing 4 + 3 opened guide vanes on opposite sides of the runner axis is better; it reduces the pressure peaks corresponding to a two- and three-vortex configuration, and the maximal pressure pulsations by as much as 88% in the vaneless space compared to regular SNL operation. Meanwhile, the radial force on the runner is reduced by more than 83%, and pressure pulsations on the runner blades by more than 55%, compared to the surrogate models' optimal layout prediction.