# add residuals to dataframe syn_data['resids'] = y_output - y_pred