繁体   English   中英

有没有匹配勋伯格算法的R样条?

[英]Is there an R spline that matches the Schoenberg algorithm?

是否有 R 算法可以在最小化 L 的同时拟合平滑样条,

L = ρ ∑ (i from 0 to n-1) wi(yi-Si(xi))² + (1 - ρ) ∫ (x from 0 to x_(n-1)) (S''(x)) ² dx

也许 smooth.spline 是可能的,但我没有成功找到好的参数。

(这里的方程可以看的更清楚: https://www.iro.umontreal.ca/~simardr/ssj/doc/html/umontreal/iro/lecuyer/functionfit/SmoothingCubicSpline.html

pspline::smooth.Pspline(  x = input_x,
                          y = input_y, 
                          norder = 2, 
                          method = 1,
                          spar = rho)

会做的工作。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM