split_dataset | R Documentation |
Split a tfdataset object into training and testing sets
split_dataset(x, test_size = 0.15, batch_size = 64L)
x |
a tfdataset object |
test_size |
The ratio of the testing set (default 0.15) |
batch_size |
Batch size (default: 64L) |
a list that include a training and a testing dataset, where both of them are tfdataset object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.