Share via


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.Api20240401.SamplingAlgorithmTypeConverter))]
public class SamplingAlgorithm : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ISamplingAlgorithm
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.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.Api20240401.ISamplingAlgorithm. Note: the Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.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