Skip to content
Open
Show file tree
Hide file tree
Changes from 38 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
5550e86
initial code for GauPro
topepo Mar 15, 2025
6bad583
update GP check
topepo Mar 20, 2025
77ccb3b
more helpers
topepo Mar 20, 2025
8ac5024
logging and seeds
topepo Mar 21, 2025
42e967f
update messages
topepo Mar 21, 2025
5ec06f7
accommodations for qualitative tuning parameters
topepo Mar 22, 2025
86226bd
note about left-over warnings
topepo Mar 22, 2025
7699de2
add some notes
topepo Mar 23, 2025
aaff649
small updates
topepo Apr 23, 2025
911afb5
switch gp packages
topepo May 1, 2025
8eed207
global variable from mutate
topepo May 1, 2025
3dfc61e
notes and remove old functions
topepo May 1, 2025
0378e57
Merge branch 'main' into gau-pro
topepo Oct 15, 2025
1dff5a2
add GauPro
topepo Oct 15, 2025
1f92a1e
more updates
topepo Oct 15, 2025
0808c18
remove old functions
topepo Oct 15, 2025
83c3959
air format
topepo Oct 15, 2025
368d7ab
simplify note
topepo Oct 16, 2025
bdb2115
write more details; rename some columns names for GP function
topepo Oct 16, 2025
eb087e0
clean up some notes
topepo Oct 16, 2025
ef13682
update news
topepo Oct 16, 2025
68720ec
recreate test objects with new GP code
topepo Oct 16, 2025
da11756
update tests
topepo Oct 16, 2025
f11eab7
redoc
topepo Oct 16, 2025
2863caf
update words
topepo Oct 16, 2025
4cefced
base pipe
topepo Oct 16, 2025
b826bc1
avoid loading workflowsets in test objects
topepo Oct 16, 2025
7306248
missing o=symbol names
topepo Oct 16, 2025
117ec01
merge on updated names
topepo Oct 16, 2025
5d0ed03
capture output
topepo Oct 16, 2025
5a0ea4f
update bayes objects with wide grids
topepo Oct 16, 2025
c1fc879
remove the use of previous GP fit code
topepo Oct 16, 2025
4680c3d
remove some minor warnings when the occur
topepo Oct 17, 2025
07742ae
capture output
topepo Oct 17, 2025
ed6f0c2
test files names based on R file names
topepo Oct 17, 2025
78f6660
Merge branch 'main' into gau-pro
topepo Oct 17, 2025
f23c913
fix news entry
topepo Oct 17, 2025
940f490
skip for seemingly unrelated package based on GHA results
topepo Oct 17, 2025
15ff8c4
Apply suggestions from code review
topepo Oct 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Imports:
generics (>= 0.1.2),
ggplot2,
glue (>= 1.6.2),
GPfit,
GauPro (>= 0.2.15),
hardhat (>= 1.4.2),
parallel,
parsnip (>= 1.2.1.9003),
Expand Down Expand Up @@ -66,4 +66,4 @@ Encoding: UTF-8
Language: en-US
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2
RoxygenNote: 7.3.3
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ export(val_class_or_null)
import(rlang)
import(vctrs)
import(workflows)
importFrom(GPfit,GP_fit)
importFrom(cli,cli_abort)
importFrom(cli,cli_alert)
importFrom(cli,cli_alert_danger)
Expand Down
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# tune (development version)

## Breaking Changes

* The Gaussian process model package was changed from \pkg{GPfit} to \pkg{GauPro} because the former is no longer actively maintained. There are some differences:

- Fit diagnostics are computed and reported. If the fit quality is poor, an "uncertainty sample" that is furthest away from the existing data is used as the new candidate.
- The GP no longer uses binary indicators for qualitative predictors. Instead, a "categorical kernel" is used for those parameter columns. Fewer starting values are required with this change.
- For numeric predictors, the Matern 3/2 kernel is always used.

# tune 2.0.1

* Fixed a bug where `int_pctl()` wouldn't work on `last_fit()` outcomes when future parallelism was enabled. (#1099)
Expand Down
6 changes: 3 additions & 3 deletions R/0_imports.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#' @importFrom stats model.matrix model.response model.frame update median
#' @importFrom yardstick rsq rmse accuracy roc_auc brier_survival brier_class
#' @importFrom tidyr unnest nest
#' @importFrom GPfit GP_fit
#' @importFrom parsnip get_from_env required_pkgs
#' @importFrom recipes all_predictors all_outcomes
#' @importFrom ggplot2 ggplot aes xlab geom_point geom_errorbar facet_wrap ylab
Expand Down Expand Up @@ -124,8 +123,9 @@ utils::globalVariables(
".num_models",
"model_stage",
"predict_stage",
"user",
"num"
"se",
"num",
"user"
)
)

Expand Down
5 changes: 1 addition & 4 deletions R/checks.R
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,7 @@ check_bayes_initial_size <- function(num_param, num_grid, race = FALSE) {
c(
`!` = "{msg}",
`*` = cli::pluralize(
"There are {cli::qty(diff)}{?as many/more} tuning parameters
{cli::qty(diff)}{?as/than} there are initial points.
Comment on lines -247 to -248
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are these lines being deleted?

if that is intentional then we also don't need cli::pluralize()

This is likely to cause numerical issues in the first few
search iterations."
"This is likely to cause numerical issues in the first few search iterations."
)
)

Expand Down
Loading