Struct gapi_grpc::google::cloud::bigquery::v2::model::AggregateClassificationMetrics[][src]

pub struct AggregateClassificationMetrics {
    pub precision: Option<f64>,
    pub recall: Option<f64>,
    pub accuracy: Option<f64>,
    pub threshold: Option<f64>,
    pub f1_score: Option<f64>,
    pub log_loss: Option<f64>,
    pub roc_auc: Option<f64>,
}

Aggregate metrics for classification/classifier models. For multi-class models, the metrics are either macro-averaged or micro-averaged. When macro-averaged, the metrics are calculated for each label and then an unweighted average is taken of those values. When micro-averaged, the metric is calculated globally by counting the total number of correctly predicted rows.

Fields

precision: Option<f64>

Precision is the fraction of actual positive predictions that had positive actual labels. For multiclass this is a macro-averaged metric treating each class as a binary classifier.

recall: Option<f64>

Recall is the fraction of actual positive labels that were given a positive prediction. For multiclass this is a macro-averaged metric.

accuracy: Option<f64>

Accuracy is the fraction of predictions given the correct label. For multiclass this is a micro-averaged metric.

threshold: Option<f64>

Threshold at which the metrics are computed. For binary classification models this is the positive class threshold. For multi-class classfication models this is the confidence threshold.

f1_score: Option<f64>

The F1 score is an average of recall and precision. For multiclass this is a macro-averaged metric.

log_loss: Option<f64>

Logarithmic Loss. For multiclass this is a macro-averaged metric.

roc_auc: Option<f64>

Area Under a ROC Curve. For multiclass this is a macro-averaged metric.

Trait Implementations

impl Clone for AggregateClassificationMetrics[src]

impl Debug for AggregateClassificationMetrics[src]

impl Default for AggregateClassificationMetrics[src]

impl Message for AggregateClassificationMetrics[src]

impl PartialEq<AggregateClassificationMetrics> for AggregateClassificationMetrics[src]

impl StructuralPartialEq for AggregateClassificationMetrics[src]

Auto Trait Implementations

impl RefUnwindSafe for AggregateClassificationMetrics

impl Send for AggregateClassificationMetrics

impl Sync for AggregateClassificationMetrics

impl Unpin for AggregateClassificationMetrics

impl UnwindSafe for AggregateClassificationMetrics

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]