#### Previous topic

scipy.interpolate.InterpolatedUnivariateSpline.get_knots

#### Next topic

scipy.interpolate.InterpolatedUnivariateSpline.integral

# scipy.interpolate.InterpolatedUnivariateSpline.get_residual

`InterpolatedUnivariateSpline.``get_residual`()

  Return weighted sum of squared residuals of the spline approximation.

  This is equivalent to:

      sum((w[i] * (y[i]-spl(x[i])))**2, axis=0)