Skip to main content

recommend_method

Function recommend_method 

Source
pub fn recommend_method(n: usize, d: usize, opts: &RecommendOpts) -> KnnMethod
Expand 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.