[][src]Struct crfsuite_sys::crfsuite_evaluation_t

#[repr(C)]
pub struct crfsuite_evaluation_t {
    pub num_labels: c_int,
    pub tbl: *mut crfsuite_label_evaluation_t,
    pub item_total_correct: c_int,
    pub item_total_num: c_int,
    pub item_total_observation: c_int,
    pub item_total_model: c_int,
    pub item_accuracy: floatval_t,
    pub inst_total_correct: c_int,
    pub inst_total_num: c_int,
    pub inst_accuracy: floatval_t,
    pub macro_precision: floatval_t,
    pub macro_recall: floatval_t,
    pub macro_fmeasure: floatval_t,
}

An overall performance values.

Fields

num_labels: c_int

Number of labels.

tbl: *mut crfsuite_label_evaluation_t

Array of label-wise evaluations.

item_total_correct: c_int

Number of correctly predicted items.

item_total_num: c_int

Total number of items.

item_total_observation: c_int

Total number of occurrences of labels in the gold-standard data.

item_total_model: c_int

Total number of predictions.

item_accuracy: floatval_t

Item-level accuracy.

inst_total_correct: c_int

Number of correctly predicted instances.

inst_total_num: c_int

Total number of instances.

inst_accuracy: floatval_t

Instance-level accuracy.

macro_precision: floatval_t

Macro-averaged precision.

macro_recall: floatval_t

Macro-averaged recall.

macro_fmeasure: floatval_t

Macro-averaged F1 score.

Trait Implementations

impl Clone for crfsuite_evaluation_t[src]

impl Copy for crfsuite_evaluation_t[src]

impl Debug for crfsuite_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.