StudySpec_MetricSpec_SafetyMetricConfig class final
Used in safe optimization to specify threshold levels and risk tolerance.
- Inheritance
-
- Object
- ProtoMessage
- StudySpec_MetricSpec_SafetyMetricConfig
Constructors
- StudySpec_MetricSpec_SafetyMetricConfig({double safetyThreshold = 0, double? desiredMinSafeTrialsFraction})
- StudySpec_MetricSpec_SafetyMetricConfig.fromJson(Object? j)
-
factory
Properties
- desiredMinSafeTrialsFraction → double?
-
Desired minimum fraction of safe trials (over total number of trials)
that should be targeted by the algorithm at any time during the
study (best effort). This should be between 0.0 and 1.0 and a value of
0.0 means that there is no minimum and an algorithm proceeds without
targeting any specific fraction. A value of 1.0 means that the
algorithm attempts to only Suggest safe Trials.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- safetyThreshold → double
-
Safety threshold (boundary value between safe and unsafe). NOTE that if
you leave SafetyMetricConfig unset, a default value of 0 will be used.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String