Abstract The theory of tune feedback correction and the principle a algorithm based on machine learning are introduced, with focus application lasso regression for correction. Simulation verification online results presented. show that, after applying learning, accuracy system was higher, betatron stability further improved.