Machine Learning, Numerical Methods, Cubicspline.
How to Use it for interpolation? We illustrate its usage through an example then later generalize the process. Example #1: Use the natural cubic spline to determine y at x = 1.5. Data points are as follows: (2, 1), (1, 0), (5, 0), (3, 0), (4,1) Solution: We first understand what it wants. Primarily