Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand space-filling designs #329

Merged
merged 21 commits into from
Jun 14, 2024
Merged

Expand space-filling designs #329

merged 21 commits into from
Jun 14, 2024

Conversation

topepo
Copy link
Member

@topepo topepo commented Apr 10, 2024

Closes #307

The space-filling design functionality was expanded to include several new types of designs: Audze-Eglais, max/min L1, max/min L2, and uniform. These are all pre-computed designs accessed from the sfd package.

A new function is used to access all of the space-filling designs called grid_space_filling().

@topepo topepo marked this pull request as ready for review April 10, 2024 20:14
@topepo topepo requested a review from hfrick April 10, 2024 20:14
Copy link
Member

@hfrick hfrick left a comment

Choose a reason for hiding this comment

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

I like one function for space-filling designs better than 6 different ones 👍

With that we have a mismatch in what's available/exported between different types of space-filling designs though: we have grid_latin_hypercube() and grid_max_entropy() but no, say, grid_audze_eglais().

I'm in favor of deprecating grid_latin_hypercube() and grid_max_entropy(), starting with a soft-deprecation. This can and should be a separate issue and PR but we should agree on what to do with that mismatch before adding grid_space_filling().

DESCRIPTION Outdated Show resolved Hide resolved
DESCRIPTION Outdated Show resolved Hide resolved
DESCRIPTION Show resolved Hide resolved
R/space_filling.R Outdated Show resolved Hide resolved
R/space_filling.R Outdated Show resolved Hide resolved
R/space_filling.R Show resolved Hide resolved
R/space_filling.R Outdated Show resolved Hide resolved
R/space_filling.R Outdated Show resolved Hide resolved
tests/testthat/test-space_filling.R Outdated Show resolved Hide resolved
tests/testthat/test-space_filling.R Outdated Show resolved Hide resolved
@hfrick
Copy link
Member

hfrick commented Jun 14, 2024

The failure on R 3.6 is okay, we don't support that version anymore.

@hfrick hfrick merged commit debbba8 into tidymodels:main Jun 14, 2024
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Revise space-filling designs
2 participants