[][src]Struct crfsuite_sys::crfsuite_label_evaluation_t

#[repr(C)]
pub struct crfsuite_label_evaluation_t {
    pub num_correct: c_int,
    pub num_observation: c_int,
    pub num_model: c_int,
    pub precision: floatval_t,
    pub recall: floatval_t,
    pub fmeasure: floatval_t,
}

Label-wise performance values.

Fields

num_correct: c_int

Number of correct predictions.

num_observation: c_int

Number of occurrences of the label in the gold-standard data.

num_model: c_int

Number of predictions.

precision: floatval_t

Precision.

recall: floatval_t

Recall.

fmeasure: floatval_t

F1 score.

Trait Implementations

impl Clone for crfsuite_label_evaluation_t[src]

impl Copy for crfsuite_label_evaluation_t[src]

impl Debug for crfsuite_label_evaluation_t[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.