[−][src]Function lsh_rs::stats::optimize_l2_params
pub fn optimize_l2_params(
delta: f64,
dim: usize,
k: &[usize],
vs: &[Vec<f32>]
) -> Result<Vec<OptRes>>
Does a grid search over parameter K where L is determined by the estimate_l
function.
Note that the data already should be normalized by dividing the data points
by the query distance R.
Arguments
delta
- Probability of not returning NN. P(NN) = 1 - δdim
- Dimension of the data points.vs
- Data points.