Struct google_api_proto::google::cloud::datalabeling::v1beta1::pr_curve::ConfidenceMetricsEntry
source · pub struct ConfidenceMetricsEntry {
pub confidence_threshold: f32,
pub recall: f32,
pub precision: f32,
pub f1_score: f32,
pub recall_at1: f32,
pub precision_at1: f32,
pub f1_score_at1: f32,
pub recall_at5: f32,
pub precision_at5: f32,
pub f1_score_at5: f32,
}
Fields§
§confidence_threshold: f32
Threshold used for this entry.
For classification tasks, this is a classification threshold: a predicted label is categorized as positive or negative (in the context of this point on the PR curve) based on whether the label’s score meets this threshold.
For image object detection (bounding box) tasks, this is the [intersection-over-union
(IOU)](/vision/automl/object-detection/docs/evaluate#intersection-over-union) threshold for the context of this point on the PR curve.
recall: f32
Recall value.
precision: f32
Precision value.
f1_score: f32
Harmonic mean of recall and precision.
recall_at1: f32
Recall value for entries with label that has highest score.
precision_at1: f32
Precision value for entries with label that has highest score.
f1_score_at1: f32
The harmonic mean of [recall_at1][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.precision_at1].
recall_at5: f32
Recall value for entries with label that has highest 5 scores.
precision_at5: f32
Precision value for entries with label that has highest 5 scores.
f1_score_at5: f32
The harmonic mean of [recall_at5][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.recall_at5] and [precision_at5][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.precision_at5].
Trait Implementations§
source§impl Clone for ConfidenceMetricsEntry
impl Clone for ConfidenceMetricsEntry
source§fn clone(&self) -> ConfidenceMetricsEntry
fn clone(&self) -> ConfidenceMetricsEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConfidenceMetricsEntry
impl Debug for ConfidenceMetricsEntry
source§impl Default for ConfidenceMetricsEntry
impl Default for ConfidenceMetricsEntry
source§impl Message for ConfidenceMetricsEntry
impl Message for ConfidenceMetricsEntry
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 ConfidenceMetricsEntry
impl PartialEq for ConfidenceMetricsEntry
source§fn eq(&self, other: &ConfidenceMetricsEntry) -> bool
fn eq(&self, other: &ConfidenceMetricsEntry) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for ConfidenceMetricsEntry
impl StructuralPartialEq for ConfidenceMetricsEntry
Auto Trait Implementations§
impl Freeze for ConfidenceMetricsEntry
impl RefUnwindSafe for ConfidenceMetricsEntry
impl Send for ConfidenceMetricsEntry
impl Sync for ConfidenceMetricsEntry
impl Unpin for ConfidenceMetricsEntry
impl UnwindSafe for ConfidenceMetricsEntry
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