Class MetricSpec (0.4.0)

  MetricSpec 
 ( 
 mapping 
 = 
 None 
 , 
 * 
 , 
 ignore_unknown_fields 
 = 
 False 
 , 
 ** 
 kwargs 
 ) 
 

Represents a metric to optimize.

Attributes

Name Description
metric_id str
Required. The ID of the metric. Must not contain whitespaces and must be unique amongst all MetricSpecs.
goal `.study.StudySpec.MetricSpec.GoalType`
Required. The optimization goal of the metric.

Inheritance

builtins.object > proto.message.Message > MetricSpec

Classes

GoalType

  GoalType 
 ( 
 value 
 ) 
 

The available types of optimization goals.