1
SciPy의 보간 모듈에는 interp1d이라는 함수가 있습니다. 문서에서는 스플라인 보간이라고 말합니다. http://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.interp1d.html 그러나 끝점에서 경계 조건을 찾을 수는 없습니다. 예를 들어, 3 차 스플라인의 경우, 종점에서 파생 상품 (또는 2 차 파생 상품)을 지정해야합니다. interp1d에서 사용하는 값은 무엇입니까?SciPy의 interp1d 끝점
기본적으로'interp1d' 코드는'kind = smoothest'와 함께'splmake' 함수를 사용합니다. 그것은'_find_smoothest' 함수에 있습니다. [here] (https://github.com/scipy/scipy/blob/72ccbc19970f9b54f1d5a28a87e89da798547dbb/scipy/interpolate/interpolate.py#L2612-L2636). 정확하게 컴퓨팅이 무엇인지는 모르겠지만, 나는 확실하지 않습니다. :-) 이것은 내 첫 번째 추측이었을 자연 스플라인과는 다른 것처럼 보입니다. –
관련 항목 : http://stackoverflow.com/questions/36088340/what-algorithm-used-in-interp1d-function-in-scipy-interpolate –