Is there a Python equivalent to the smooth.spline function in R

前端 未结 3 1869
萌比男神i
萌比男神i 2021-02-07 07:06

The smooth.spline function in R allows a tradeoff between roughness (as defined by the integrated square of the second derivative) and fitting the points (as defined by summing

3条回答
  •  孤街浪徒
    2021-02-07 07:41

    I've been looking for exactly the same thing, but would rather not have to translate the code to Python. The Splinter package seems like an option, however: https://github.com/bgrimstad/splinter

提交回复
热议问题