### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.12 Reference Guide (DRAFT) »
- Interpolation (`scipy.interpolate`) »
- scipy.interpolate.UnivariateSpline »

# scipy.interpolate.UnivariateSpline.get_residual

`UnivariateSpline.``get_residual`()

  Return weighted sum of squared residuals of the spline approximation: `sum((w[i] * (y[i]-s(x[i])))**2, axis=0)`.

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.12 Reference Guide (DRAFT) »
- Interpolation (`scipy.interpolate`) »
- scipy.interpolate.UnivariateSpline »