Function fbleau::estimates::knn_utils::nn_bound[][src]

pub fn nn_bound(error: f64, nlabels: usize) -> f64

Computes the NN bound derived from Cover&Hart, given the error and the number of labels.