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


EagerAI/fastai documentation built on April 16, 2024, 12:01 p.m.