Struct google_api_proto::google::cloud::automl::v1beta1::TablesAnnotation
source · pub struct TablesAnnotation {
pub score: f32,
pub prediction_interval: Option<DoubleRange>,
pub value: Option<Value>,
pub tables_model_column_info: Vec<TablesModelColumnInfo>,
pub baseline_score: f32,
}
Expand description
Contains annotation details specific to Tables.
Fields§
§score: f32
Output only. A confidence estimate between 0.0 and 1.0, inclusive. A higher value means greater confidence in the returned value. For
[target_column_spec][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] of FLOAT64 data type the score is not populated.
prediction_interval: Option<DoubleRange>
Output only. Only populated when
[target_column_spec][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] has FLOAT64 data type. An interval in which the exactly correct target value has 95% chance to be in.
value: Option<Value>
The predicted value of the row’s
[target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec]. The value depends on the column’s DataType:
-
CATEGORY - the predicted (with the above confidence
score
) CATEGORY value. -
FLOAT64 - the predicted (with above
prediction_interval
) FLOAT64 value.
tables_model_column_info: Vec<TablesModelColumnInfo>
Output only. Auxiliary information for each of the model’s
[input_feature_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] with respect to this particular prediction. If no other fields than
[column_spec_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_spec_name] and
[column_display_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_display_name] would be populated, then this whole field is not.
baseline_score: f32
Output only. Stores the prediction score for the baseline example, which is defined as the example with all values set to their baseline values. This is used as part of the Sampled Shapley explanation of the model’s prediction. This field is populated only when feature importance is requested. For regression models, this holds the baseline prediction for the baseline example. For classification models, this holds the baseline prediction for the baseline example for the argmax class.
Trait Implementations§
source§impl Clone for TablesAnnotation
impl Clone for TablesAnnotation
source§fn clone(&self) -> TablesAnnotation
fn clone(&self) -> TablesAnnotation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TablesAnnotation
impl Debug for TablesAnnotation
source§impl Default for TablesAnnotation
impl Default for TablesAnnotation
source§impl Message for TablesAnnotation
impl Message for TablesAnnotation
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 TablesAnnotation
impl PartialEq for TablesAnnotation
source§fn eq(&self, other: &TablesAnnotation) -> bool
fn eq(&self, other: &TablesAnnotation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TablesAnnotation
Auto Trait Implementations§
impl Freeze for TablesAnnotation
impl RefUnwindSafe for TablesAnnotation
impl Send for TablesAnnotation
impl Sync for TablesAnnotation
impl Unpin for TablesAnnotation
impl UnwindSafe for TablesAnnotation
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