split_train_test_cv: Given a dataset, split it into training and test sets...

Description Usage Arguments Value

Description

Given a dataset, split it into training and test sets randomly.

Usage

1
2
split_train_test_cv(input, regex, source_variable, flip_i, flip_j,
  cv = 10)

Arguments

input

Dataset

regex

The regular expression for this class.

source_variable

The GEO dataset variable that will be used to split the dataset.

flip_i

Decimal value indicating the proportion of samples of class B to flip to class A.

flip_j

Decimal value indicating the proportion of samples of class B to flip to class A.

cv

The number of cross-validation splits to return; default = 10.

Value

List of datasets split for cross-validation with training and test sets, including flipped labels at specified percentage.


katrinakalantar/metahostlab documentation built on May 26, 2019, 2:31 p.m.