Source code for ezyrb.approximation.radius_neighbors_regressor

"""Wrapper for RadiusNeighborsRegressor."""

from sklearn.neighbors import RadiusNeighborsRegressor as Regressor

from .neighbors_regressor import NeighborsRegressor


[docs] class RadiusNeighborsRegressor(NeighborsRegressor): """ Radius Neighbors Regressor. :param kwargs: arguments passed to the internal instance of RadiusNeighborsRegressor. """
[docs] def __init__(self, **kwargs): self.regressor = Regressor(**kwargs)