Struct google_bigquery2::api::AggregateClassificationMetrics [−][src]
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.
This type is not used in any activity, and only used as part of another schema.
Fields
accuracy: Option<f64>Accuracy is the fraction of predictions given the correct label. For multiclass this is a micro-averaged metric.
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.
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.
roc_auc: Option<f64>Area Under a ROC Curve. For multiclass this is a macro-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.
Trait Implementations
impl Clone for AggregateClassificationMetrics[src]
fn clone(&self) -> AggregateClassificationMetrics[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for AggregateClassificationMetrics[src]
impl Default for AggregateClassificationMetrics[src]
impl<'de> Deserialize<'de> for AggregateClassificationMetrics[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Part for AggregateClassificationMetrics[src]
impl Serialize for AggregateClassificationMetrics[src]
Auto Trait Implementations
impl RefUnwindSafe for AggregateClassificationMetrics[src]
impl Send for AggregateClassificationMetrics[src]
impl Sync for AggregateClassificationMetrics[src]
impl Unpin for AggregateClassificationMetrics[src]
impl UnwindSafe for AggregateClassificationMetrics[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,