Regression Data Analysis, Overfitting, Loocv, Crossvalidation, Calibration.
ax[order-1].plot(t, r, 'r:o') ax[order-1].plot(t, np.polyval(coef, t), 'b-') ax[order-1].set_title('Order = %d' % order) ax[order-1].set_xlabel('t (C)') ax[0].set_ylabel('R(Ohms)'); Plotted by the author The root square of the residuals (RSS) tends to zero at order=5, as can be easily expected,