pub trait QueryStrategy {
// Required method
fn score(&self, predictions: &[Vector<f32>]) -> Vec<f32>;
// Provided method
fn select(&self, predictions: &[Vector<f32>], k: usize) -> Vec<usize> { ... }
}Expand description
Active learning query strategy trait.