Below is a list of the predefined callbacks that are available in mlr3torch.

library(data.table)
library(mlr3torch)
content = as.data.table(mlr3torch::mlr3torch_callbacks)
content$key = sapply(content$key, function(key) sprintf("[%s](https://mlr3torch.mlr-org.com/reference/mlr_callbacks_%s.html)", key, key))
content$packages = lapply(content$packages, function(ps) setdiff(ps, "mlr3torch"))
content = content[, .(key, label, packages)]
names(content) = c("Key", "Label", "Packages")
knitr::kable(content)


mlr-org/mlr3torch documentation built on April 17, 2025, 8:22 p.m.