#[macro_use] extern crate bencher; extern crate ndarray; extern crate rustlearn; extern crate fbleau; use fbleau::*; use fbleau::estimates::*; use fbleau::estimates::knn::KNNEstimator; use bencher::Bencher; use ndarray::prelude::*; use rustlearn::datasets::*; /// Load the Boston dataset. /// /// NOTE: we don't really care about preserving the original data; /// in fact, the labels in the original data have floating point /// values, but we convert them into `Label`. /// This dataset only serves for benchmark purposes. fn load_boston() -> (Array2, Array1