Share via


BanditPolicy Class

Definition

Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation.

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

Constructors

BanditPolicy()

Initializes a new instance of BanditPolicy.

Properties

DelayEvaluation

Number of intervals by which to delay the first evaluation.

(Inherited from MachineLearningEarlyTerminationPolicy)
EvaluationInterval

Interval (number of runs) between policy evaluations.

(Inherited from MachineLearningEarlyTerminationPolicy)
SlackAmount

Absolute distance allowed from the best performing run.

SlackFactor

Ratio of the allowed distance from the best performing run.

Explicit Interface Implementations

IJsonModel<BanditPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BanditPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<MachineLearningEarlyTerminationPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from MachineLearningEarlyTerminationPolicy)
IJsonModel<MachineLearningEarlyTerminationPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from MachineLearningEarlyTerminationPolicy)
IPersistableModel<BanditPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BanditPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BanditPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<MachineLearningEarlyTerminationPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from MachineLearningEarlyTerminationPolicy)
IPersistableModel<MachineLearningEarlyTerminationPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from MachineLearningEarlyTerminationPolicy)
IPersistableModel<MachineLearningEarlyTerminationPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from MachineLearningEarlyTerminationPolicy)

Applies to