bundles / scipy latest / scipy / interpolate / _bsplines / _compute_optimal_gcv_parameter
function
scipy.interpolate._bsplines:_compute_optimal_gcv_parameter
Signature
def _compute_optimal_gcv_parameter ( X , wE , y , w ) Summary
Returns an optimal regularization parameter from the GCV criteria [1].
Parameters
X: array, shape (5, n)5 bands of the design matrix
Xstored in LAPACK banded storage.wE: array, shape (5, n)5 bands of the penalty matrix stored in LAPACK banded storage.
y: array, shape (n,)Ordinates.
w: array, shape (n,)Vector of weights.
Returns
lam: floatAn optimal from the GCV criteria point of view regularization parameter.
Notes
No checks are performed.
Aliases
-
scipy.interpolate._bsplines._compute_optimal_gcv_parameter