Share via


EarlyTerminationPolicy Class

Definition

Early termination policies enable canceling poor-performing runs before they complete

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

Constructors

EarlyTerminationPolicy()

Creates an new EarlyTerminationPolicy 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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EarlyTerminationPolicy.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EarlyTerminationPolicy.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IEarlyTerminationPolicy. Note: the Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IEarlyTerminationPolicy interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EarlyTerminationPolicy into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to