다음을 통해 공유


RandomSamplingAlgorithm Class

Definition

Defines a Sampling Algorithm that generates values randomly.

public class RandomSamplingAlgorithm : Azure.ResourceManager.MachineLearning.Models.SamplingAlgorithm, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.RandomSamplingAlgorithm>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.RandomSamplingAlgorithm>
public class RandomSamplingAlgorithm : Azure.ResourceManager.MachineLearning.Models.SamplingAlgorithm
type RandomSamplingAlgorithm = class
    inherit SamplingAlgorithm
    interface IJsonModel<RandomSamplingAlgorithm>
    interface IPersistableModel<RandomSamplingAlgorithm>
type RandomSamplingAlgorithm = class
    inherit SamplingAlgorithm
Public Class RandomSamplingAlgorithm
Inherits SamplingAlgorithm
Implements IJsonModel(Of RandomSamplingAlgorithm), IPersistableModel(Of RandomSamplingAlgorithm)
Public Class RandomSamplingAlgorithm
Inherits SamplingAlgorithm
Inheritance
RandomSamplingAlgorithm
Implements

Constructors

RandomSamplingAlgorithm()

Initializes a new instance of RandomSamplingAlgorithm.

Properties

Logbase

An optional positive number or e in string format to be used as base for log based random sampling.

Rule

The specific type of random algorithm.

Seed

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

Explicit Interface Implementations

IJsonModel<RandomSamplingAlgorithm>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<RandomSamplingAlgorithm>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<SamplingAlgorithm>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from SamplingAlgorithm)
IJsonModel<SamplingAlgorithm>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from SamplingAlgorithm)
IPersistableModel<RandomSamplingAlgorithm>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RandomSamplingAlgorithm>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<RandomSamplingAlgorithm>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<SamplingAlgorithm>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from SamplingAlgorithm)
IPersistableModel<SamplingAlgorithm>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from SamplingAlgorithm)
IPersistableModel<SamplingAlgorithm>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from SamplingAlgorithm)

Applies to