[][src]Struct google_bigquery2::BinaryConfusionMatrix

pub struct BinaryConfusionMatrix {
    pub true_positives: Option<String>,
    pub recall: Option<f64>,
    pub precision: Option<f64>,
    pub false_negatives: Option<String>,
    pub true_negatives: Option<String>,
    pub false_positives: Option<String>,
    pub f1_score: Option<f64>,
    pub positive_class_threshold: Option<f64>,
    pub accuracy: Option<f64>,
}

Confusion matrix for binary classification models.

This type is not used in any activity, and only used as part of another schema.

Fields

true_positives: Option<String>

Number of true samples predicted as true.

recall: Option<f64>

The fraction of actual positive labels that were given a positive prediction.

precision: Option<f64>

The fraction of actual positive predictions that had positive actual labels.

false_negatives: Option<String>

Number of false samples predicted as false.

true_negatives: Option<String>

Number of true samples predicted as false.

false_positives: Option<String>

Number of false samples predicted as true.

f1_score: Option<f64>

The equally weighted average of recall and precision.

positive_class_threshold: Option<f64>

Threshold value used when computing each of the following metric.

accuracy: Option<f64>

The fraction of predictions given the correct label.

Trait Implementations

impl Part for BinaryConfusionMatrix[src]

impl Clone for BinaryConfusionMatrix[src]

impl Default for BinaryConfusionMatrix[src]

impl Debug for BinaryConfusionMatrix[src]

impl Serialize for BinaryConfusionMatrix[src]

impl<'de> Deserialize<'de> for BinaryConfusionMatrix[src]

Auto Trait Implementations

Blanket Implementations

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 = !

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]