Interpolating natural cubic splines. Includes batching, GPU support, support for missing values, evaluating derivatives of the spline, and backpropagation.
Hello there - happy to see you're interested in contributing.
I've got a couple comments but in principle I'm happy to include this.
-The def derivative line has the wrong indentation.
-The order argument should have a default value of 1 for backward compatibility.
-It would be nice if order > 3 returned zeros.
Hello there - happy to see you're interested in contributing.
I've got a couple comments but in principle I'm happy to include this.
-The
def derivative
line has the wrong indentation. -Theorder
argument should have a default value of 1 for backward compatibility. -It would be nice iforder > 3
returned zeros.