Regression Data Analysis, Overfitting, Loocv, Crossvalidation, Calibration.
b = 100, 3.9083E-3, -5.775E-7 t = np.linspace(0, 600, 6) # resistance vusus temperature including random errors r = r0*(1 + a*t + b*t**2) + np.random.normal(0, 3, len(t)) fig, ax = plt.subplots(1, 5, sharey=True,figsize=(15,3)) for order in range(1, 6): coef = np.polyfit(t, r, degree)