[][src]Struct oner_induction::Rule

pub struct Rule<A, C> {
    pub cases: Vec<Case<A, C>>,
    pub accuracy: Accuracy,
}

The rule for an attribute, together with the training data accuracy.

Fields

cases: Vec<Case<A, C>>

The conditions and actions (IF...THENs) for an attribute.

accuracy: Accuracy

The accuracy of the rule set on the training data used to discover it.

Trait Implementations

impl<A: Debug, C: Debug> Debug for Rule<A, C>[src]

impl<A: PartialEq, C: PartialEq> PartialEq<Rule<A, C>> for Rule<A, C>[src]

impl<A, C> StructuralPartialEq for Rule<A, C>[src]

Auto Trait Implementations

impl<A, C> RefUnwindSafe for Rule<A, C> where
    A: RefUnwindSafe,
    C: RefUnwindSafe

impl<A, C> Send for Rule<A, C> where
    A: Send,
    C: Send

impl<A, C> Sync for Rule<A, C> where
    A: Sync,
    C: Sync

impl<A, C> Unpin for Rule<A, C> where
    A: Unpin,
    C: Unpin

impl<A, C> UnwindSafe for Rule<A, C> where
    A: UnwindSafe,
    C: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.