View source: R/dsg_benchmark.R
| dsg_take | R Documentation |
Draws n labelled samples from the current concept of a
dsg_source().
dsg_take(source, n = 1)
source |
|
n |
Number of samples. |
list with the features x (data frame) and the labels y
set.seed(1)
sample <- dsg_take(dsg_sea(), 5)
sample$x
sample$y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.