data-raw/optdigits.R

library("mlr3oml")

odata = OMLData$new(980)
optdigits = odata$data
optdigits[, odata$feature_names := lapply(.SD, as.integer), .SDcols = (odata$feature_names)]
data.table::setnames(optdigits, old = "binaryClass", new = "binaryclass")
data.table::setDF(optdigits)

usethis::use_data(optdigits, overwrite = TRUE, compress = "xz")
mlr-org/mlr3data documentation built on Nov. 10, 2024, 10:40 a.m.