BallTree

class frlearn.neighbour_search_methods.BallTree(*, leaf_size: int = 30, n_jobs: int = 1, preprocessors=())[source]

Nearest neighbour search with a Ball tree.

Parameters
leaf_size: int = 30

The leaf size to be used for the Ball 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