This is documentation for an old release of SciPy (version 0.8.). Read this page Search for this page in the documentation of the latest stable release (version 1.15.0).
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)