Share via


TruncationSelectionPolicy Class

Definition

Defines an early termination policy that cancels a given percentage of runs at each evaluation interval.

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

Constructors

TruncationSelectionPolicy()

Initializes a new instance of TruncationSelectionPolicy.

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)
TruncationPercentage

The percentage of runs to cancel at each evaluation interval.

Explicit Interface Implementations

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)
IJsonModel<TruncationSelectionPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TruncationSelectionPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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)
IPersistableModel<TruncationSelectionPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TruncationSelectionPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TruncationSelectionPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to