Share via


MachineLearningObjective Constructors

Definition

Overloads

MachineLearningObjective(MachineLearningGoal, String)

Initializes a new instance of MachineLearningObjective.

MachineLearningObjective(String, MachineLearningGoal)

Initializes a new instance of MachineLearningObjective.

MachineLearningObjective(MachineLearningGoal, String)

Source:
MachineLearningObjective.cs
Source:
MachineLearningObjective.cs

Initializes a new instance of MachineLearningObjective.

public MachineLearningObjective (Azure.ResourceManager.MachineLearning.Models.MachineLearningGoal goal, string primaryMetric);
new Azure.ResourceManager.MachineLearning.Models.MachineLearningObjective : Azure.ResourceManager.MachineLearning.Models.MachineLearningGoal * string -> Azure.ResourceManager.MachineLearning.Models.MachineLearningObjective
Public Sub New (goal As MachineLearningGoal, primaryMetric As String)

Parameters

goal
MachineLearningGoal

[Required] Defines supported metric goals for hyperparameter tuning.

primaryMetric
String

[Required] Name of the metric to optimize.

Exceptions

primaryMetric is null.

Applies to

MachineLearningObjective(String, MachineLearningGoal)

Source:
MachineLearningObjective.cs

Initializes a new instance of MachineLearningObjective.

public MachineLearningObjective (string primaryMetric, Azure.ResourceManager.MachineLearning.Models.MachineLearningGoal goal);
new Azure.ResourceManager.MachineLearning.Models.MachineLearningObjective : string * Azure.ResourceManager.MachineLearning.Models.MachineLearningGoal -> Azure.ResourceManager.MachineLearning.Models.MachineLearningObjective
Public Sub New (primaryMetric As String, goal As MachineLearningGoal)

Parameters

primaryMetric
String

[Required] Name of the metric to optimize.

goal
MachineLearningGoal

[Required] Defines supported metric goals for hyperparameter tuning.

Exceptions

primaryMetric is null.

Applies to