[][src]Struct gcp_client::google::cloud::datalabeling::v1beta1::Evaluation

pub struct Evaluation {
    pub name: String,
    pub config: Option<EvaluationConfig>,
    pub evaluation_job_run_time: Option<Timestamp>,
    pub create_time: Option<Timestamp>,
    pub evaluation_metrics: Option<EvaluationMetrics>,
    pub annotation_type: i32,
    pub evaluated_item_count: i64,
}

Describes an evaluation between a machine learning model's predictions and ground truth labels. Created when an [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob] runs successfully.

Fields

name: String

Output only. Resource name of an evaluation. The name has the following format:

"projects/{project_id}/datasets/{dataset_id}/evaluations/{evaluation_id}'

config: Option<EvaluationConfig>

Output only. Options used in the evaluation job that created this evaluation.

evaluation_job_run_time: Option<Timestamp>

Output only. Timestamp for when the evaluation job that created this evaluation ran.

create_time: Option<Timestamp>

Output only. Timestamp for when this evaluation was created.

evaluation_metrics: Option<EvaluationMetrics>

Output only. Metrics comparing predictions to ground truth labels.

annotation_type: i32

Output only. Type of task that the model version being evaluated performs, as defined in the

[evaluationJobConfig.inputConfig.annotationType][google.cloud.datalabeling.v1beta1.EvaluationJobConfig.input_config] field of the evaluation job that created this evaluation.

evaluated_item_count: i64

Output only. The number of items in the ground truth dataset that were used for this evaluation. Only populated when the evaulation is for certain AnnotationTypes.

Implementations

impl Evaluation[src]

pub fn annotation_type(&self) -> AnnotationType[src]

Returns the enum value of annotation_type, or the default if the field is set to an invalid enum value.

pub fn set_annotation_type(&mut self, value: AnnotationType)[src]

Sets annotation_type to the provided enum value.

Trait Implementations

impl Clone for Evaluation[src]

impl Debug for Evaluation[src]

impl Default for Evaluation[src]

impl Message for Evaluation[src]

impl PartialEq<Evaluation> for Evaluation[src]

impl StructuralPartialEq for Evaluation[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]