mars.learn.neighbors.
NearestNeighbors
__init__
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__([n_neighbors, radius, algorithm, …])
Initialize self.
fit(X[, y, session, run_kwargs])
fit
Fit the model using X as training data
get_params([deep])
get_params
Get parameters for this estimator.
kneighbors([X, n_neighbors, …])
kneighbors
Finds the K-neighbors of a point.
kneighbors_graph([X, n_neighbors, mode, …])
kneighbors_graph
Computes the (weighted) graph of k-Neighbors for points in X
set_params(**params)
set_params
Set the parameters of this estimator.