Warning
This documentation is for an old version (v2.6.6
) of cleanlab
. To see the documentation for the latest stable version (v2.7.1
), click here.
neighbor#
The neighbor
modules provide functionality for performing nearest neighbor search and pairwise distance calculations in those searches.
This submodule consists of the following modules:
neighbor.knn_graph
: Contains functions for setting up a nearest neighbor search index and constructing knn graphs.neighbor.search
: Contains a helper function that wraps the default implementation of nearest neighbor searches.neighbor.metric
: Contains functions for selecting distance metrics for nearest neighbor searches.