IndexSplitter: Index Splitter

Description Usage Arguments Value

View source: R/GAN.R

Description

Split 'items' so that 'val_idx' are in the validation set and the others in the training set

Usage

1
IndexSplitter(valid_idx)

Arguments

valid_idx

The indices to use for the validation set (defaults to a random split otherwise)

Value

None


fastai documentation built on Oct. 25, 2021, 5:08 p.m.