MetricDefinition class
Specifies a metric that the training algorithm writes to stderr
or stdout
. Amazon SageMakerhyperparameter tuning captures all
defined metrics. You specify one metric that a hyperparameter tuning job
uses as its objective metric to choose the best training job.
Constructors
- MetricDefinition({required String name, required String regex})
-
MetricDefinition.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the metric.
final
- regex → String
-
A regular expression that searches the output of a training job and gets the
value of the metric. For more information about using regular expressions to
define metrics, see Defining
Objective Metrics.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited