pub enum KNNAlgorithmName {
LinearSearch,
CoverTree,
}Expand description
Both, KNN classifier and regressor benefits from underlying search algorithms that helps to speed up queries.
KNNAlgorithmName maintains a list of supported search algorithms, see KNN algorithms
Variants§
LinearSearch
Heap Search algorithm, see LinearSearch
CoverTree
Cover Tree Search algorithm, see CoverTree
Trait Implementations§
Source§impl Clone for KNNAlgorithmName
impl Clone for KNNAlgorithmName
Source§fn clone(&self) -> KNNAlgorithmName
fn clone(&self) -> KNNAlgorithmName
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KNNAlgorithmName
impl Debug for KNNAlgorithmName
Source§impl Default for KNNAlgorithmName
impl Default for KNNAlgorithmName
Source§fn default() -> KNNAlgorithmName
fn default() -> KNNAlgorithmName
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KNNAlgorithmName
impl RefUnwindSafe for KNNAlgorithmName
impl Send for KNNAlgorithmName
impl Sync for KNNAlgorithmName
impl Unpin for KNNAlgorithmName
impl UnwindSafe for KNNAlgorithmName
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more