Learning a wind farm power curve with a data-driven approach