csaps
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?
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.