Skip to content

Commit 65668f0

Browse files
committed
small fixes
1 parent 629d9a7 commit 65668f0

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

man/details_boost_tree_lightgbm.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/details_discrim_linear_sda.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/details_discrim_linear_sparsediscrim.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/details_discrim_quad_sparsediscrim.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/testthat/test-logistic_reg_keras.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ test_that('model fitting', {
2121

2222
set.seed(352)
2323
dat <-
24-
lending_club |>
24+
modeldata::lending_club |>
2525
dplyr::group_by(Class) |>
2626
dplyr::sample_n(500) |>
2727
dplyr::ungroup() |>
@@ -98,7 +98,7 @@ test_that('classification prediction', {
9898

9999
set.seed(352)
100100
dat <-
101-
lending_club |>
101+
modeldata::lending_club |>
102102
dplyr::group_by(Class) |>
103103
dplyr::sample_n(500) |>
104104
dplyr::ungroup() |>
@@ -155,7 +155,7 @@ test_that('classification probabilities', {
155155

156156
set.seed(352)
157157
dat <-
158-
lending_club |>
158+
modeldata::lending_club |>
159159
dplyr::group_by(Class) |>
160160
dplyr::sample_n(500) |>
161161
dplyr::ungroup() |>

tests/testthat/test-mars.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ test_that('classification', {
191191
glm_mars <-
192192
mars(mode = "classification") |>
193193
set_engine("earth") |>
194-
fit(Class ~ ., data = lending_club[-(1:5),])
194+
fit(Class ~ ., data = modeldata::lending_club[-(1:5),])
195195
)
196196
expect_true(!is.null(extract_fit_engine(glm_mars)$glm.list))
197197
parsnip_pred <- predict(glm_mars, new_data = lending_club[1:5, -ncol(lending_club)], type = "prob")

0 commit comments

Comments
 (0)