take_sample_from_dataset {azuremlsdk}R Documentation

Take a random sample of file streams in the dataset approximately by the probability specified.

Description

Take a random sample of file streams in the dataset approximately by the probability specified.

Usage

take_sample_from_dataset(dataset, probability, seed = NULL)

Arguments

dataset

The Dataset object.

probability

The probability of a file stream being included in the sample.

seed

An optional seed to use for the random generator.

Value

A new Dataset object representing the sampled dataset.


[Package azuremlsdk version 1.10.0 Index]