Struct google_prediction1d6::api::Insert2ModelInfo
source · [−]pub struct Insert2ModelInfo {
pub class_weighted_accuracy: Option<String>,
pub classification_accuracy: Option<String>,
pub mean_squared_error: Option<String>,
pub model_type: Option<String>,
pub number_instances: Option<String>,
pub number_labels: Option<String>,
}
Expand description
Model metadata.
This type is not used in any activity, and only used as part of another schema.
Fields
class_weighted_accuracy: Option<String>
Estimated accuracy of model taking utility weights into account (Categorical models only).
classification_accuracy: Option<String>
A number between 0.0 and 1.0, where 1.0 is 100% accurate. This is an estimate, based on the amount and quality of the training data, of the estimated prediction accuracy. You can use this is a guide to decide whether the results are accurate enough for your needs. This estimate will be more reliable if your real input data is similar to your training data (Categorical models only).
mean_squared_error: Option<String>
An estimated mean squared error. The can be used to measure the quality of the predicted model (Regression models only).
model_type: Option<String>
Type of predictive model (CLASSIFICATION or REGRESSION).
number_instances: Option<String>
Number of valid data instances used in the trained model.
number_labels: Option<String>
Number of class labels in the trained model (Categorical models only).
Trait Implementations
sourceimpl Clone for Insert2ModelInfo
impl Clone for Insert2ModelInfo
sourcefn clone(&self) -> Insert2ModelInfo
fn clone(&self) -> Insert2ModelInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Insert2ModelInfo
impl Debug for Insert2ModelInfo
sourceimpl Default for Insert2ModelInfo
impl Default for Insert2ModelInfo
sourcefn default() -> Insert2ModelInfo
fn default() -> Insert2ModelInfo
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Insert2ModelInfo
impl<'de> Deserialize<'de> for Insert2ModelInfo
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for Insert2ModelInfo
impl Serialize for Insert2ModelInfo
impl NestedType for Insert2ModelInfo
impl Part for Insert2ModelInfo
Auto Trait Implementations
impl RefUnwindSafe for Insert2ModelInfo
impl Send for Insert2ModelInfo
impl Sync for Insert2ModelInfo
impl Unpin for Insert2ModelInfo
impl UnwindSafe for Insert2ModelInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more