R/hyperdrive.R
primary_metric_goal.Rd
A metric goal is used to determine whether a higher value for a metric is better or worse. Metric goals are used when comparing runs based on the primary metric. For example, you may want to maximize accuracy or minimize error.
The primary metric name and goal are specified to hyperdrive_config()
when you configure a HyperDrive run.
primary_metric_goal(goal)
goal | A string of the metric goal (either "MAXIMIZE" or "MINIMIZE"). |
---|
The PrimaryMetricGoal
object.