Compartilhar via


Objective Class

Definition

Optimization objective.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ObjectiveTypeConverter))]
public class Objective : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IObjective
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ObjectiveTypeConverter))>]
type Objective = class
    interface IObjective
    interface IJsonSerializable
Public Class Objective
Implements IObjective
Inheritance
Objective
Attributes
Implements

Constructors

Objective()

Creates an new Objective instance.

Properties

Goal

[Required] Defines supported metric goals for hyperparameter tuning

PrimaryMetric

[Required] Name of the metric to optimize.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Objective.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Objective.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IObjective.

FromJsonString(String)

Creates a new instance of Objective, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Objective into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to