Struct bigml::resource::evaluation::DetailedClassificationResult
source · #[non_exhaustive]pub struct DetailedClassificationResult {
pub accuracy: f64,
pub average_f_measure: f64,
pub average_phi: f64,
pub average_precision: f64,
pub average_recall: f64,
pub confusion_matrix: Vec<Vec<f64>>,
pub per_class_statistics: Vec<ClassificationPerClassStatistics>,
}
Expand description
The detailed result of an evaluation using specific criteria.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.accuracy: f64
The portion of instances we classified correctly.
average_f_measure: f64
The average f-measure over all classes.
average_phi: f64
The average phi over all classes.
average_precision: f64
The average precision over all classes.
average_recall: f64
The average recall over all classes.
confusion_matrix: Vec<Vec<f64>>
A list of rows of the confusion matrix for this model.
per_class_statistics: Vec<ClassificationPerClassStatistics>
Statistics for each of the individidual classes.
Trait Implementations§
source§impl Debug for DetailedClassificationResult
impl Debug for DetailedClassificationResult
source§impl<'de> Deserialize<'de> for DetailedClassificationResult
impl<'de> Deserialize<'de> for DetailedClassificationResult
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DetailedClassificationResult
impl Send for DetailedClassificationResult
impl Sync for DetailedClassificationResult
impl Unpin for DetailedClassificationResult
impl UnwindSafe for DetailedClassificationResult
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