IndexSplitter: Index Splitter

View source: R/GAN.R

IndexSplitterR Documentation

Index Splitter

Description

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

Usage

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 March 31, 2023, 11:41 p.m.