Real-time optimization of wind farms using modifier adaptation and machine learning