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

SamplingAlgorithm Class

Definition

The Sampling Algorithm used to generate hyperparameter values, along with properties to configure the algorithm

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.SamplingAlgorithmTypeConverter))]
public class SamplingAlgorithm : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.ISamplingAlgorithm
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.SamplingAlgorithmTypeConverter))>]
type SamplingAlgorithm = class
    interface ISamplingAlgorithm
    interface IJsonSerializable
Public Class SamplingAlgorithm
Implements ISamplingAlgorithm
Inheritance
SamplingAlgorithm
Attributes
Implements

Constructors

SamplingAlgorithm()

Creates an new SamplingAlgorithm instance.

Properties

Type

[Required] The algorithm used for generating hyperparameter values, along with configuration properties

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SamplingAlgorithm.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SamplingAlgorithm.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.ISamplingAlgorithm. Note: the Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.ISamplingAlgorithm 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 SamplingAlgorithm, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of SamplingAlgorithm into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to