pub enum RuleMetric {
Confidence,
Lift,
Support,
Leverage,
Conviction,
}Expand description
The metric association_rules filters generated rules by.
Mirrors mlxtend’s metric argument: a rule is emitted only when the chosen
metric is ≥ min_threshold.
Variants§
Confidence
Filter on the rule’s confidence.
Lift
Filter on the rule’s lift.
Support
Filter on the rule’s joint support.
Leverage
Filter on the rule’s leverage.
Conviction
Filter on the rule’s conviction.
Trait Implementations§
Source§impl Clone for RuleMetric
impl Clone for RuleMetric
Source§fn clone(&self) -> RuleMetric
fn clone(&self) -> RuleMetric
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RuleMetric
Source§impl Debug for RuleMetric
impl Debug for RuleMetric
impl Eq for RuleMetric
Source§impl PartialEq for RuleMetric
impl PartialEq for RuleMetric
Source§fn eq(&self, other: &RuleMetric) -> bool
fn eq(&self, other: &RuleMetric) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuleMetric
Auto Trait Implementations§
impl Freeze for RuleMetric
impl RefUnwindSafe for RuleMetric
impl Send for RuleMetric
impl Sync for RuleMetric
impl Unpin for RuleMetric
impl UnsafeUnpin for RuleMetric
impl UnwindSafe for RuleMetric
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