ArmMachineLearningModelFactory.MachineLearningObjective Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.