split_dataset: split_dataset

View source: R/utils.r

split_datasetR Documentation

split_dataset

Description

Split a tfdataset object into training and testing sets

Usage

split_dataset(x, test_size = 0.15, batch_size = 64L)

Arguments

x

a tfdataset object

test_size

The ratio of the testing set (default 0.15)

batch_size

Batch size (default: 64L)

Value

a list that include a training and a testing dataset, where both of them are tfdataset object


gongx030/seatac documentation built on April 15, 2023, 5:53 a.m.