Enum google_api_proto::google::cloud::bigquery::v2::model::evaluation_metrics::Metrics
source · pub enum Metrics {
RegressionMetrics(RegressionMetrics),
BinaryClassificationMetrics(BinaryClassificationMetrics),
MultiClassClassificationMetrics(MultiClassClassificationMetrics),
ClusteringMetrics(ClusteringMetrics),
RankingMetrics(RankingMetrics),
ArimaForecastingMetrics(ArimaForecastingMetrics),
DimensionalityReductionMetrics(DimensionalityReductionMetrics),
}
Expand description
Metrics.
Variants§
RegressionMetrics(RegressionMetrics)
Populated for regression models and explicit feedback type matrix factorization models.
BinaryClassificationMetrics(BinaryClassificationMetrics)
Populated for binary classification/classifier models.
MultiClassClassificationMetrics(MultiClassClassificationMetrics)
Populated for multi-class classification/classifier models.
ClusteringMetrics(ClusteringMetrics)
Populated for clustering models.
RankingMetrics(RankingMetrics)
Populated for implicit feedback type matrix factorization models.
ArimaForecastingMetrics(ArimaForecastingMetrics)
Populated for ARIMA models.
DimensionalityReductionMetrics(DimensionalityReductionMetrics)
Evaluation metrics when the model is a dimensionality reduction model, which currently includes PCA.
Implementations§
source§impl Metrics
impl Metrics
sourcepub fn merge(
field: &mut Option<Metrics>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<Metrics>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl PartialEq for Metrics
impl PartialEq for Metrics
impl StructuralPartialEq for Metrics
Auto Trait Implementations§
impl Freeze for Metrics
impl RefUnwindSafe for Metrics
impl Send for Metrics
impl Sync for Metrics
impl Unpin for Metrics
impl UnwindSafe for Metrics
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
Mutably borrows from an owned value. Read more
§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>
Wrap the input message
T
in a tonic::Request