pub struct HeuristicClassifier;Expand description
Rule-based heuristic classifier that requires no training data.
Uses structural and numerical properties of the matrix to pick a preconditioner via human-expert rules.
Implementations§
Source§impl HeuristicClassifier
impl HeuristicClassifier
Sourcepub fn predict(&self, features: &MatrixFeatures) -> PreconditionerType
pub fn predict(&self, features: &MatrixFeatures) -> PreconditionerType
Select a preconditioner type based on matrix features.
Trait Implementations§
Source§impl Clone for HeuristicClassifier
impl Clone for HeuristicClassifier
Source§fn clone(&self) -> HeuristicClassifier
fn clone(&self) -> HeuristicClassifier
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 HeuristicClassifier
impl Debug for HeuristicClassifier
Source§impl Default for HeuristicClassifier
impl Default for HeuristicClassifier
Source§fn default() -> HeuristicClassifier
fn default() -> HeuristicClassifier
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HeuristicClassifier
impl RefUnwindSafe for HeuristicClassifier
impl Send for HeuristicClassifier
impl Sync for HeuristicClassifier
impl Unpin for HeuristicClassifier
impl UnsafeUnpin for HeuristicClassifier
impl UnwindSafe for HeuristicClassifier
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more