Description Usage Arguments Value
Generates test data using base R's mtcars dataset.
The response variable y
is horsepower (hp), while the remaining variables
represent the predictive features X
.
1 | mtcars_data(seed = 99)
|
seed |
random seed to use. Defaults to 99. |
X_train
, y_train
, X_val
, y_val
(as a list of dataframes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.