R/mapping.R
dragon_split.Rd
If you do not call this, dragon_train() holds out 5 percent of rows (and none when the dataset has fewer than 20 rows).
dragon_train()
dragon_split(dataset, eval_frac = 0.05, seed = 42)
A dragon_dataset.
dragon_dataset
Fraction of rows to hold out.
Random seed for the split.
The dataset with the split attached.