pyFM.spectral.nearest_neighbor.choose_backend¶
- pyFM.spectral.nearest_neighbor.choose_backend(n_keys, dim, method='auto')¶
Pick the backend for a query of n_keys reference points in dim dimensions.
KDtree is only useful in low dim with enough points to search.