Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

random_split_dataset

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


Description

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

Usage

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

Interface to the 'Azure Machine Learning' 'SDK'

v1.10.0
MIT + file LICENSE
Authors
Diondra Peck [cre, aut], Minna Xiao [aut], AzureML R SDK Team [ctb], Microsoft [cph, fnd], Google Inc. [cph] (Examples and Tutorials), The TensorFlow Authors [cph] (Examples and Tutorials), RStudio Inc. [cph] (Examples and Tutorials)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.