# define x and y x_input = syn_data['x'].values.reshape(n_points, 1) y_output = syn_data['y'].values.reshape(n_points, 1)