Skip to content

Commit

Permalink
chore: lightgbm description fix
Browse files Browse the repository at this point in the history
see #31
  • Loading branch information
jhk0530 committed Dec 13, 2023
1 parent 76335ff commit 396f7a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: stove
Title: Stove
Version: 1.1.1
Version: 1.2.0
Authors@R: c(
person("Yeonchan", "Seong", , "ycseong07@gmail.com", role = c("aut", "cre")),
person("Jinhwan", "Kim", , email = "hwanistic@gmail.com", role = "ctb"))
Expand All @@ -16,6 +16,7 @@ Suggests:
testthat (>= 3.0.0)
VignetteBuilder: knitr
Config/testthat/edition: 3
Depends: lightgbm (== 3.3.5)
Imports:
brulee (>= 0.1.0),
C50 (>= 0.1.6),
Expand All @@ -33,7 +34,6 @@ Imports:
kknn (>= 1.3.1),
klaR (>= 1.7-1),
LiblineaR (>= 2.10-12),
lightgbm (>= 3.3.2),
magrittr (>= 2.0.3),
naivebayes (>= 0.9.7),
nnet (>= 7.3-17),
Expand Down
2 changes: 2 additions & 0 deletions R/fitting.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ bayesOptCV <- function(rec = NULL,
hardhat::extract_parameter_set_dials() %>%
recipes::update(mtry = dials::finalize(mtry(), trainingData))

print("ERROR with lightgbm pacakge: use 3.3.5 version not 4.2.0 version")
print('devtools::install_version("lightgbm", version = "3.3.5", repos = "http://cran.us.r-project.org")')
set.seed(seed = as.numeric(seed))
result <-
tunedWorkflow %>%
Expand Down

0 comments on commit 396f7a4

Please sign in to comment.