Enum google_api_proto::google::cloud::aiplatform::v1::study_spec::ObservationNoise
source · #[repr(i32)]pub enum ObservationNoise {
Unspecified = 0,
Low = 1,
High = 2,
}
Expand description
Describes the noise level of the repeated observations.
“Noisy” means that the repeated observations with the same Trial parameters may lead to different metric evaluations.
Variants§
Unspecified = 0
The default noise level chosen by Vertex AI.
Low = 1
Vertex AI assumes that the objective function is (nearly) perfectly reproducible, and will never repeat the same Trial parameters.
High = 2
Vertex AI will estimate the amount of noise in metric evaluations, it may repeat the same Trial parameters more than once.
Implementations§
source§impl ObservationNoise
impl ObservationNoise
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for ObservationNoise
impl Clone for ObservationNoise
source§fn clone(&self) -> ObservationNoise
fn clone(&self) -> ObservationNoise
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ObservationNoise
impl Debug for ObservationNoise
source§impl Default for ObservationNoise
impl Default for ObservationNoise
source§fn default() -> ObservationNoise
fn default() -> ObservationNoise
source§impl From<ObservationNoise> for i32
impl From<ObservationNoise> for i32
source§fn from(value: ObservationNoise) -> i32
fn from(value: ObservationNoise) -> i32
source§impl Hash for ObservationNoise
impl Hash for ObservationNoise
source§impl Ord for ObservationNoise
impl Ord for ObservationNoise
source§fn cmp(&self, other: &ObservationNoise) -> Ordering
fn cmp(&self, other: &ObservationNoise) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ObservationNoise
impl PartialEq for ObservationNoise
source§fn eq(&self, other: &ObservationNoise) -> bool
fn eq(&self, other: &ObservationNoise) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ObservationNoise
impl PartialOrd for ObservationNoise
source§fn partial_cmp(&self, other: &ObservationNoise) -> Option<Ordering>
fn partial_cmp(&self, other: &ObservationNoise) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for ObservationNoise
impl TryFrom<i32> for ObservationNoise
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<ObservationNoise, UnknownEnumValue>
fn try_from(value: i32) -> Result<ObservationNoise, UnknownEnumValue>
impl Copy for ObservationNoise
impl Eq for ObservationNoise
impl StructuralPartialEq for ObservationNoise
Auto Trait Implementations§
impl Freeze for ObservationNoise
impl RefUnwindSafe for ObservationNoise
impl Send for ObservationNoise
impl Sync for ObservationNoise
impl Unpin for ObservationNoise
impl UnwindSafe for ObservationNoise
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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