Struct gapi_grpc::google::cloud::bigquery::v2::model::binary_classification_metrics::BinaryConfusionMatrix[][src]

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>,
}

Confusion matrix for binary classification models.

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

impl Clone for BinaryConfusionMatrix[src]

impl Debug for BinaryConfusionMatrix[src]

impl Default for BinaryConfusionMatrix[src]

impl Message for BinaryConfusionMatrix[src]

impl PartialEq<BinaryConfusionMatrix> for BinaryConfusionMatrix[src]

impl StructuralPartialEq for BinaryConfusionMatrix[src]

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

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

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

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for 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 = Infallible

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]