Struct google_cloud_bigquery::http::model::BinaryConfusionMatrix
source · pub struct BinaryConfusionMatrix {
pub positive_class_threshold: Option<f64>,
pub true_positives: Option<i64>,
pub false_positives: Option<i64>,
pub true_negatives: Option<i64>,
pub false_negatives: Option<i64>,
pub precision: Option<f64>,
pub recall: Option<f64>,
pub f1_score: Option<f64>,
pub accuracy: Option<f64>,
}Fields§
§positive_class_threshold: Option<f64>Threshold value used when computing each of the following metric.
true_positives: Option<i64>Number of true samples predicted as true.
false_positives: Option<i64>Number of false samples predicted as true.
true_negatives: Option<i64>Number of true samples predicted as false.
false_negatives: Option<i64>Number of false samples predicted as false.
precision: Option<f64>The fraction of actual positive predictions that had positive actual labels.
recall: Option<f64>The fraction of actual positive labels that were given a positive prediction.
f1_score: Option<f64>The equally weighted average of recall and precision.
accuracy: Option<f64>The fraction of predictions given the correct label.
Trait Implementations§
source§impl Clone for BinaryConfusionMatrix
impl Clone for BinaryConfusionMatrix
source§fn clone(&self) -> BinaryConfusionMatrix
fn clone(&self) -> BinaryConfusionMatrix
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BinaryConfusionMatrix
impl Debug for BinaryConfusionMatrix
source§impl Default for BinaryConfusionMatrix
impl Default for BinaryConfusionMatrix
source§fn default() -> BinaryConfusionMatrix
fn default() -> BinaryConfusionMatrix
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BinaryConfusionMatrix
impl<'de> Deserialize<'de> for BinaryConfusionMatrix
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 PartialEq<BinaryConfusionMatrix> for BinaryConfusionMatrix
impl PartialEq<BinaryConfusionMatrix> for BinaryConfusionMatrix
source§fn eq(&self, other: &BinaryConfusionMatrix) -> bool
fn eq(&self, other: &BinaryConfusionMatrix) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for BinaryConfusionMatrix
impl Serialize for BinaryConfusionMatrix
impl StructuralPartialEq for BinaryConfusionMatrix
Auto Trait Implementations§
impl RefUnwindSafe for BinaryConfusionMatrix
impl Send for BinaryConfusionMatrix
impl Sync for BinaryConfusionMatrix
impl Unpin for BinaryConfusionMatrix
impl UnwindSafe for BinaryConfusionMatrix
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request