[][src]Struct gcp_client::google::cloud::automl::v1beta1::classification_evaluation_metrics::ConfusionMatrix

pub struct ConfusionMatrix {
    pub annotation_spec_id: Vec<String>,
    pub display_name: Vec<String>,
    pub row: Vec<Row>,
}

Confusion matrix of the model running the classification.

Fields

annotation_spec_id: Vec<String>

Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION

[prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.

display_name: Vec<String>

Output only. Display name of the annotation specs used in the confusion matrix, as they were at the moment of the evaluation. For Tables CLASSIFICATION

[prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type], distinct values of the target column at the moment of the model evaluation are populated here.

row: Vec<Row>

Output only. Rows in the confusion matrix. The number of rows is equal to the size of annotation_spec_id. row[i].example_count[j] is the number of examples that have ground truth of the annotation_spec_id[i] and are predicted as annotation_spec_id[j] by the model being evaluated.

Trait Implementations

impl Clone for ConfusionMatrix[src]

impl Debug for ConfusionMatrix[src]

impl Default for ConfusionMatrix[src]

impl Message for ConfusionMatrix[src]

impl PartialEq<ConfusionMatrix> for ConfusionMatrix[src]

impl StructuralPartialEq for ConfusionMatrix[src]

Auto Trait Implementations

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

impl<T> WithSubscriber for T[src]