Share via


MachineLearningObjective Class

Definition

Optimization objective.

public class MachineLearningObjective : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningObjective>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningObjective>
public class MachineLearningObjective
type MachineLearningObjective = class
    interface IJsonModel<MachineLearningObjective>
    interface IPersistableModel<MachineLearningObjective>
type MachineLearningObjective = class
Public Class MachineLearningObjective
Implements IJsonModel(Of MachineLearningObjective), IPersistableModel(Of MachineLearningObjective)
Public Class MachineLearningObjective
Inheritance
MachineLearningObjective
Implements

Constructors

MachineLearningObjective(MachineLearningGoal, String)

Initializes a new instance of MachineLearningObjective.

MachineLearningObjective(String, MachineLearningGoal)

Initializes a new instance of MachineLearningObjective.

Properties

Goal

[Required] Defines supported metric goals for hyperparameter tuning.

PrimaryMetric

[Required] Name of the metric to optimize.

Explicit Interface Implementations

IJsonModel<MachineLearningObjective>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MachineLearningObjective>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MachineLearningObjective>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineLearningObjective>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MachineLearningObjective>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to