Share via


RandomSamplingAlgorithm Class

Definition

Defines a Sampling Algorithm that generates values randomly

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.RandomSamplingAlgorithmTypeConverter))]
public class RandomSamplingAlgorithm : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IRandomSamplingAlgorithm, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.RandomSamplingAlgorithmTypeConverter))>]
type RandomSamplingAlgorithm = class
    interface IRandomSamplingAlgorithm
    interface IJsonSerializable
    interface ISamplingAlgorithm
    interface IValidates
Public Class RandomSamplingAlgorithm
Implements IRandomSamplingAlgorithm, IValidates
Inheritance
RandomSamplingAlgorithm
Attributes
Implements

Constructors

RandomSamplingAlgorithm()

Creates an new RandomSamplingAlgorithm instance.

Properties

Rule

The specific type of random algorithm

Seed

An optional integer to use as the seed for random number generation

Type

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RandomSamplingAlgorithm.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RandomSamplingAlgorithm.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IRandomSamplingAlgorithm.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RandomSamplingAlgorithm into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to