Struct bigml::resource::evaluation::ClassificationResult
source · #[non_exhaustive]pub struct ClassificationResult {
pub class_names: Vec<String>,
pub mode: DetailedClassificationResult,
pub model: DetailedClassificationResult,
pub random: DetailedClassificationResult,
}
Expand description
The result of evaluating a classifier.
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.class_names: Vec<String>
The names of our classifications.
mode: DetailedClassificationResult
According to BigML, “Measures the performance of the classifier that predicts the mode class for all the instances in the dataset.”
model: DetailedClassificationResult
The performance of this model.
random: DetailedClassificationResult
According to BigML, “Measures the performance of the classifier that predicts a random class for all the instances in the dataset.”
Trait Implementations§
source§impl Debug for ClassificationResult
impl Debug for ClassificationResult
source§impl<'de> Deserialize<'de> for ClassificationResult
impl<'de> Deserialize<'de> for ClassificationResult
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
source§impl Serialize for ClassificationResult
impl Serialize for ClassificationResult
impl Result for ClassificationResult
Auto Trait Implementations§
impl RefUnwindSafe for ClassificationResult
impl Send for ClassificationResult
impl Sync for ClassificationResult
impl Unpin for ClassificationResult
impl UnwindSafe for ClassificationResult
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