Share via


TruncationSelectionPolicy Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.TruncationSelectionPolicyTypeConverter))]
public class TruncationSelectionPolicy : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ITruncationSelectionPolicy, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.TruncationSelectionPolicyTypeConverter))>]
type TruncationSelectionPolicy = class
    interface ITruncationSelectionPolicy
    interface IJsonSerializable
    interface IEarlyTerminationPolicy
    interface IValidates
Public Class TruncationSelectionPolicy
Implements ITruncationSelectionPolicy, IValidates
Inheritance
TruncationSelectionPolicy
Attributes
Implements

Constructors

TruncationSelectionPolicy()

Creates an new TruncationSelectionPolicy instance.

Properties

DelayEvaluation

Number of intervals by which to delay the first evaluation.

EvaluationInterval

Interval (number of runs) between policy evaluations.

PolicyType

[Required] Name of policy configuration

TruncationPercentage

The percentage of runs to cancel at each evaluation interval.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TruncationSelectionPolicy.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TruncationSelectionPolicy.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of TruncationSelectionPolicy into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to