ezyrb.approximation.linear.Linear

class Linear(fill_value=nan)[source]

Multidimensional linear interpolator.

Parameters:

fill_value (float) – value used to fill in for requested points outside of the convex hull of the input points. If not provided, then the default is numpy.nan.

__init__(fill_value=nan)[source]

Methods

__init__([fill_value])

fit(points, values)

Construct the interpolator given points and values.

predict(new_point)

Evaluate interpolator at given new_points.