本文簡要介紹 python 語言中 scipy.interpolate.LSQUnivariateSpline.get_residual
的用法。
用法:
LSQUnivariateSpline.get_residual()#
返回樣條近似的殘差平方和的加權和。
這相當於:
sum((w[i] * (y[i]-spl(x[i])))**2, axis=0)
相關用法
- Python SciPy LSQUnivariateSpline.antiderivative用法及代碼示例
- Python SciPy LSQUnivariateSpline.integral用法及代碼示例
- Python SciPy LSQUnivariateSpline.derivatives用法及代碼示例
- Python SciPy LSQUnivariateSpline.derivative用法及代碼示例
- Python SciPy LSQUnivariateSpline.roots用法及代碼示例
- Python SciPy LSQBivariateSpline.__call__用法及代碼示例
- Python SciPy LSQBivariateSpline.ev用法及代碼示例
- Python SciPy LSQSphereBivariateSpline.__call__用法及代碼示例
- Python SciPy LSQSphereBivariateSpline.ev用法及代碼示例
- Python SciPy LinearConstraint.residual用法及代碼示例
- Python SciPy LowLevelCallable用法及代碼示例
- Python SciPy interpolate.make_interp_spline用法及代碼示例
- Python SciPy stats.anderson用法及代碼示例
- Python SciPy ClusterNode.pre_order用法及代碼示例
- Python SciPy stats.iqr用法及代碼示例
- Python SciPy FortranFile.read_record用法及代碼示例
- Python SciPy ndimage.correlate用法及代碼示例
- Python SciPy special.exp1用法及代碼示例
- Python SciPy special.expn用法及代碼示例
- Python SciPy signal.czt_points用法及代碼示例
- Python SciPy interpolate.krogh_interpolate用法及代碼示例
- Python SciPy ndimage.morphological_gradient用法及代碼示例
- Python SciPy distance.sokalmichener用法及代碼示例
- Python SciPy linalg.eigvalsh_tridiagonal用法及代碼示例
- Python SciPy linalg.cdf2rdf用法及代碼示例
注:本文由純淨天空篩選整理自scipy.org大神的英文原創作品 scipy.interpolate.LSQUnivariateSpline.get_residual。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。