MNT remove unnecessary constructor parameter **kwargs.
@@ -105,10 +105,10 @@ class NearestNeighbors(NeighborsBase, KNeighborsMixin,
def __init__(self, n_neighbors=5, radius=1.0,
algorithm='auto', leaf_size=30, metric='minkowski',
- p=2, metric_params=None, n_jobs=None, **kwargs):
+ p=2, metric_params=None, n_jobs=None):
super().__init__(
n_neighbors=n_neighbors,
radius=radius,
algorithm=algorithm,
leaf_size=leaf_size, metric=metric, p=p,
- metric_params=metric_params, n_jobs=n_jobs, **kwargs)
+ metric_params=metric_params, n_jobs=n_jobs)
