语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

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