ezyrb.approximation.kneighbors_regressor.KNeighborsRegressor

class KNeighborsRegressor(**kwargs)[source]

K-Neighbors Regressor.

Parameters:

kwargs – arguments passed to the internal instance of KNeighborsRegressor.

__init__(**kwargs)[source]

Methods

__init__(**kwargs)

fit(points, values)

Construct the interpolator given points and values.

predict(new_point)

Evaluate interpolator at given new_points.