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 June 22, 2024, 11:15 a.m.