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

feature request for tune: Random Search over grids #141

Open
lorenzoFabbri opened this issue Jul 28, 2021 · 2 comments
Open

feature request for tune: Random Search over grids #141

lorenzoFabbri opened this issue Jul 28, 2021 · 2 comments
Assignees
Labels
feature-request Can be implemented if there's enough interest

Comments

@lorenzoFabbri
Copy link

Is your feature request related to a problem? Please describe.
It would be nice to be possible to perform a random search rather than an exhaustive one over the hyper-parameters' grids, something like RandomizedSearchCV in sk-learn. This is important in case the grids are fairly large.

Describe the solution you'd like

tune <- tune.spls(X, Y, ncomp = 3, 
                  test.keepX = list.keepX, test.keepY = list.keepY, random.search = TRUE)
@lorenzoFabbri lorenzoFabbri added the feature-request Can be implemented if there's enough interest label Jul 28, 2021
@aljabadi
Copy link
Collaborator

Hi @lorenzoFabbri,

Thanks for pointing this out. This has in fact been on our list for pls-derived methods (including the block analyses). We'll keep you updated once it's in place.

@aljabadi
Copy link
Collaborator

Hi @lorenzoFabbri,

As an interim solution, you can tune the number of variables for X using all Y variables first, and then proceed to tune the number of variables on Y using the tuned number of variables on X. This is probably a more sensible 'fast' variation of the tune.spls which we'll implement.

@Max-Bladen Max-Bladen assigned Max-Bladen and unassigned aljabadi Mar 14, 2022
@evaham1 evaham1 changed the title feature request: Random Search over grids feature request for tune: Random Search over grids Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Can be implemented if there's enough interest
Projects
None yet
Development

No branches or pull requests

3 participants