csaps icon indicating copy to clipboard operation
csaps copied to clipboard

Is there an easy way to access the number of parameters and degrees of freedom, so one could calculate the GCV?

Open ZeroCool2u opened this issue 1 year ago • 4 comments

I'm interested in optimizing the smoothing parameter using the GCV (page 244 7.52). Oftentimes, this requires the number of effective number of parameters and degrees of freedom for the generated spline. I've been looking at the source code in _sspumv.py and just wanted to confirm there's no easy/built-in way to get this from a spline that csaps has created.

ZeroCool2u avatar Apr 24 '23 17:04 ZeroCool2u