Skip to content

Commit

Permalink
enable setting stop_iter with brulee mlp()
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Jan 16, 2024
1 parent 948308b commit e7e6b03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# parsnip (development version)

* Fixed issue in `mlp()` metadata where the `stop_iter` engine argument had been mistakenly protected for the `"brulee"` engine. (#1050)

* `.filter_eval_time()` was moved to the survival standalone file.

* Improved errors and documentation related to special terms in formulas. See `?model_formula` to learn more. (#770, #1014)
Expand Down
10 changes: 0 additions & 10 deletions R/mlp_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -433,16 +433,6 @@ set_model_arg(
has_submodel = FALSE
)


set_model_arg(
model = "mlp",
eng = "brulee",
parsnip = "stop_iter",
original = "stop_iter",
func = list(pkg = "dials", fun = "stop_iter"),
has_submodel = FALSE
)

set_model_arg(
model = "mlp",
eng = "brulee",
Expand Down

0 comments on commit e7e6b03

Please sign in to comment.