def validate_supersmoother():
x, y = smoother_friedman82.build_sample_smoother_problem_friedman82()<EOL>x, y = sort_data(x, y)<EOL>my_smoother = smoother.perform_smooth(x, y, smoother_cls=supersmoother.SuperSmootherWithPlots)<EOL>supsmu_result = run_freidman_supsmu(x, y, bass_enhancement=<NUM_LIT:0.0>)<EOL>mace_result = run_mace_smothr(x, y, bass_enhancement=<NUM_LIT:0.0>)<EOL>plt.plot(x, y, '<STR_LIT:.>', label='<STR_LIT>')<EOL>plt.plot(x, my_smoother.smooth_result, '<STR_LIT:->', label='<STR_LIT>')<EOL>plt.plot(x, supsmu_result, '<STR_LIT>', label='<STR_LIT>')<EOL>plt.plot(x, mace_result, '<STR_LIT::>', label='<STR_LIT>')<EOL>plt.legend()<EOL>plt.savefig('<STR_LIT>')<EOL>
Validate the supersmoother.