Struct google_api_proto::google::cloud::automl::v1::TextSentimentEvaluationMetrics
source · pub struct TextSentimentEvaluationMetrics {
pub precision: f32,
pub recall: f32,
pub f1_score: f32,
pub mean_absolute_error: f32,
pub mean_squared_error: f32,
pub linear_kappa: f32,
pub quadratic_kappa: f32,
pub confusion_matrix: Option<ConfusionMatrix>,
}
Expand description
Model evaluation metrics for text sentiment problems.
Fields§
§precision: f32
Output only. Precision.
recall: f32
Output only. Recall.
f1_score: f32
Output only. The harmonic mean of recall and precision.
mean_absolute_error: f32
Output only. Mean absolute error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
mean_squared_error: f32
Output only. Mean squared error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
linear_kappa: f32
Output only. Linear weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
quadratic_kappa: f32
Output only. Quadratic weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
confusion_matrix: Option<ConfusionMatrix>
Output only. Confusion matrix of the evaluation. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
Trait Implementations§
source§impl Clone for TextSentimentEvaluationMetrics
impl Clone for TextSentimentEvaluationMetrics
source§fn clone(&self) -> TextSentimentEvaluationMetrics
fn clone(&self) -> TextSentimentEvaluationMetrics
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for TextSentimentEvaluationMetrics
impl Message for TextSentimentEvaluationMetrics
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 TextSentimentEvaluationMetrics
impl PartialEq for TextSentimentEvaluationMetrics
source§fn eq(&self, other: &TextSentimentEvaluationMetrics) -> bool
fn eq(&self, other: &TextSentimentEvaluationMetrics) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TextSentimentEvaluationMetrics
Auto Trait Implementations§
impl Freeze for TextSentimentEvaluationMetrics
impl RefUnwindSafe for TextSentimentEvaluationMetrics
impl Send for TextSentimentEvaluationMetrics
impl Sync for TextSentimentEvaluationMetrics
impl Unpin for TextSentimentEvaluationMetrics
impl UnwindSafe for TextSentimentEvaluationMetrics
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