Create a dataset
Examples
sim_data <- msaenet::msaenet.sim.binomial(
n = 100,
p = 10,
rho = 0.6,
coef = rnorm(5, mean = 0, sd = 10),
snr = 1,
p.train = 0.8,
seed = 42
)
catboost_load_pool(data = sim_data$x.tr, label = sim_data$y.tr)
#> catboost.Pool
#> 80 rows, 10 columns
catboost_load_pool(data = sim_data$x.tr, label = NULL)
#> catboost.Pool
#> 80 rows, 10 columns
catboost_load_pool(data = sim_data$x.te, label = NULL)
#> catboost.Pool
#> 20 rows, 10 columns