你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EarlyTerminationPolicy Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.EarlyTerminationPolicyTypeConverter))]
public class EarlyTerminationPolicy : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IEarlyTerminationPolicy
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.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.Api20220501.IEarlyTerminationPolicy. Note: the Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.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