pub fn recommend_method(n: usize, d: usize, opts: &RecommendOpts) -> KnnMethodExpand description
Recommend a KnnMethod for n points of dimension d.
Uses nearest measured cells in the performance matrix (log-distance in n×d), falling back to feature-aware heuristics when the matrix is sparse.