ภาษา

ArmMachineLearningModelFactory.MachineLearningObjective Method

Definition

Optimization objective.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningObjective MachineLearningObjective(Azure.ResourceManager.MachineLearning.Models.MachineLearningGoal goal = default, string primaryMetric = default);
static member MachineLearningObjective : Azure.ResourceManager.MachineLearning.Models.MachineLearningGoal * string -> Azure.ResourceManager.MachineLearning.Models.MachineLearningObjective
Public Shared Function MachineLearningObjective (Optional goal As MachineLearningGoal = Nothing, Optional primaryMetric As String = Nothing) As MachineLearningObjective

Parameters

goal
MachineLearningGoal

[Required] Defines supported metric goals for hyperparameter tuning.

primaryMetric
String

[Required] Name of the metric to optimize.

Returns

A new MachineLearningObjective instance for mocking.

Applies to