Skip to content

Commit

Permalink
Register tunable {tabnet} parameters correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Haarmeyer committed Jul 26, 2024
1 parent e8f5d30 commit b2a2f4c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions R/parsnip.R
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ add_parsnip_tabnet <- function() {
eng = "torch",
parsnip = "decision_width",
original = "decision_width",
func = list(pkg = "dials", fun = "decision_width"),
func = list(pkg = "tabnet", fun = "decision_width"),
has_submodel = FALSE
)

Expand All @@ -103,7 +103,7 @@ add_parsnip_tabnet <- function() {
eng = "torch",
parsnip = "attention_width",
original = "attention_width",
func = list(pkg = "dials", fun = "attention_width"),
func = list(pkg = "tabnet", fun = "attention_width"),
has_submodel = FALSE
)

Expand All @@ -112,7 +112,7 @@ add_parsnip_tabnet <- function() {
eng = "torch",
parsnip = "num_steps",
original = "num_steps",
func = list(pkg = "dials", fun = "num_steps"),
func = list(pkg = "tabnet", fun = "num_steps"),
has_submodel = FALSE
)

Expand All @@ -121,7 +121,7 @@ add_parsnip_tabnet <- function() {
eng = "torch",
parsnip = "mask_type",
original = "mask_type",
func = list(pkg = "dials", fun = "mask_type"),
func = list(pkg = "tabnet", fun = "mask_type"),
has_submodel = FALSE
)

Expand Down Expand Up @@ -157,7 +157,7 @@ add_parsnip_tabnet <- function() {
eng = "torch",
parsnip = "num_independent",
original = "num_independent",
func = list(pkg = "dials", fun = "num_independent"),
func = list(pkg = "tabnet", fun = "num_independent"),
has_submodel = FALSE
)

Expand All @@ -166,7 +166,7 @@ add_parsnip_tabnet <- function() {
eng = "torch",
parsnip = "num_shared",
original = "num_shared",
func = list(pkg = "dials", fun = "num_shared"),
func = list(pkg = "tabnet", fun = "num_shared"),
has_submodel = FALSE
)

Expand Down Expand Up @@ -202,7 +202,7 @@ add_parsnip_tabnet <- function() {
eng = "torch",
parsnip = "feature_reusage",
original = "feature_reusage",
func = list(pkg = "dials", fun = "feature_reusage"),
func = list(pkg = "tabnet", fun = "feature_reusage"),
has_submodel = FALSE
)

Expand All @@ -211,7 +211,7 @@ add_parsnip_tabnet <- function() {
eng = "torch",
parsnip = "momentum",
original = "momentum",
func = list(pkg = "dials", fun = "momentum"),
func = list(pkg = "tabnet", fun = "momentum"),
has_submodel = FALSE
)

Expand Down

0 comments on commit b2a2f4c

Please sign in to comment.