random_split_dataset: Split file streams in the dataset into two parts randomly and...

Description Usage Arguments Value

View source: R/datasets.R

Description

Split file streams in the dataset into two parts randomly and approximately by the percentage specified.

Usage

1
random_split_dataset(dataset, percentage, seed = NULL)

Arguments

dataset

The Dataset object.

percentage

The approximate percentage to split the Dataset by. This must be a number between 0.0 and 1.0.

seed

An optional seed to use for the random generator.

Value

A new Dataset object representing the two datasets after the split.


azuremlsdk documentation built on Oct. 23, 2020, 8:22 p.m.