interp
PiecewiseConstant
The PiecewiseConstant performs piecewise constant interpolation on a dataset.
It approximates the value of a function by using the nearest data point in each interval.
This method is useful for step-like data.
Usage example
| |
PiecewiseLinear
The PiecewiseLinear performs piecewise linear interpolation on a dataset.
It approximates the value of a function by connecting data points with straight lines.
This method is useful for smooth transitions between data points.
Usage example
| |
AkimaSpline
The AkimaSpline performs Akima spline interpolation on a dataset.
This method creates a smooth curve that passes through the data points, avoiding oscillations in regions with sparse data.
Usage example
| |
FritschButland
The FritschButland performs Fritsch-Butland interpolation on a dataset.
This method ensures monotonicity in the interpolated values, making it suitable for datasets where preserving order is important.
Usage example
| |
LinearRegression
The LinearRegression performs linear regression-based interpolation on a dataset.
It predicts the value of a function at a given point using the best-fit line derived from the data.
Usage example
| |
ClampedCubic
The ClampedCubic performs linear clamped-cubic interpolation on a dataset.
It predicts the value of a function at a given point using the best-fit line derived from the data.
Usage example
| |
NaturalCubic
The ClampedCubic performs linear natural-cubic interpolation on a dataset.
It predicts the value of a function at a given point using the best-fit line derived from the data.
Usage example
| |
NotAKnotCubic
The ClampedCubic performs linear not-a-knot cubic spline interpolation on a dataset.
It predicts the value of a function at a given point using the best-fit line derived from the data.
Usage example
| |