[][src]Struct gcp_client::google::cloud::automl::v1::TextSentimentEvaluationMetrics

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

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

impl Clone for TextSentimentEvaluationMetrics[src]

impl Debug for TextSentimentEvaluationMetrics[src]

impl Default for TextSentimentEvaluationMetrics[src]

impl Message for TextSentimentEvaluationMetrics[src]

impl PartialEq<TextSentimentEvaluationMetrics> for TextSentimentEvaluationMetrics[src]

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