Struct google_api_proto::google::cloud::datalabeling::v1beta1::Evaluation
source · 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,
}
Expand description
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§
source§impl Evaluation
impl Evaluation
sourcepub fn annotation_type(&self) -> AnnotationType
pub fn annotation_type(&self) -> AnnotationType
Returns the enum value of annotation_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_annotation_type(&mut self, value: AnnotationType)
pub fn set_annotation_type(&mut self, value: AnnotationType)
Sets annotation_type
to the provided enum value.
Trait Implementations§
source§impl Clone for Evaluation
impl Clone for Evaluation
source§fn clone(&self) -> Evaluation
fn clone(&self) -> Evaluation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Evaluation
impl Debug for Evaluation
source§impl Default for Evaluation
impl Default for Evaluation
source§impl Message for Evaluation
impl Message for Evaluation
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for Evaluation
impl PartialEq for Evaluation
source§fn eq(&self, other: &Evaluation) -> bool
fn eq(&self, other: &Evaluation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Evaluation
Auto Trait Implementations§
impl Freeze for Evaluation
impl RefUnwindSafe for Evaluation
impl Send for Evaluation
impl Sync for Evaluation
impl Unpin for Evaluation
impl UnwindSafe for Evaluation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request