take_sample_from_dataset: Take a random sample of file streams in the dataset...

View source: R/datasets.R

take_sample_from_datasetR 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.


Azure/azureml-sdk-for-r documentation built on Sept. 21, 2022, 5:45 a.m.