Struct crfsuite_sys::crfsuite_evaluation_t
[−]
[src]
#[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 Debug for crfsuite_evaluation_t
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for crfsuite_evaluation_t
[src]
impl Clone for crfsuite_evaluation_t
[src]
fn clone(&self) -> crfsuite_evaluation_t
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more