R/package.R

Defines functions .onLoad

.onLoad <- function(...) {
  vctrs::s3_register("parsnip::multi_predict", "_tabnet_fit")
  vctrs::s3_register("vip::vi_model", "tabnet_fit")
  vctrs::s3_register("vip::vi_model", "tabnet_pretrain")
  vctrs::s3_register("ggplot2::autoplot", "tabnet_fit")
  vctrs::s3_register("ggplot2::autoplot", "tabnet_pretrain")
  vctrs::s3_register("ggplot2::autoplot", "tabnet_explain")
  vctrs::s3_register("tune::min_grid", "tabnet")
}


globalVariables(c("batch_size",
                  "dataset",
                  "epoch",
                  "has_checkpoint",
                  "loss",
                  "mask_agg",
                  "mean_loss",
                  "row_number",
                  "rowname",
                  "step",
                  "value",
                  "variable",
                  ".."))

Try the tabnet package in your browser

Any scripts or data that you put into this service are public.

tabnet documentation built on May 31, 2023, 6:27 p.m.