KDTree¶
- class frlearn.neighbour_search_methods.KDTree(*, leaf_size: int = 30, n_jobs: int = 1, preprocessors=())[source]¶
Nearest neighbour search with a KD-tree.
- Parameters
- leaf_size: int = 30
The leaf size to be used for the KD-tree.
- n_jobs: int = 1
The number of parallel jobs to run for neighbour search. -1 means using all processors.
- preprocessors: iterable = ()
Preprocessors to apply.
- class Model¶