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

Allow hyper-parameter tuning for immutable models. #174

Open
1 task
ablaom opened this issue May 16, 2022 · 0 comments
Open
1 task

Allow hyper-parameter tuning for immutable models. #174

ablaom opened this issue May 16, 2022 · 0 comments

Comments

@ablaom
Copy link
Member

ablaom commented May 16, 2022

Some context: JuliaML/TableTransforms.jl#67

I don't think this would be too bad, and useful preparation for making the MLJ model interface more flexible later.

The MLJTuning API doesn't really touch on this point. A tuning strategy needs to implement a models method to generate models to evaluate, but doesn't say how the models are generated. They needn't be mutations of a single object. However, the MLJ model interface currently states that models must be mutable, so some tuning strategies do use mutation to generate their models.

TODO:

  • To see if the change would be breaking, update this table:
tuning strategy assumes model types are mutable pkg providing strategy
Grid yes MLJTuning
RandomSearch yes MLJTuning
LatinHypercube yes MLJTuning.jl
MLJTreeParzenTuning() ? TreeParzen.jl
ParticleSwarm ? MLJParticleSwarmOptimization.jl
AdaptiveParticleSwarm ? MLJParticleSwarmOptimization.jl
Explicit() no MLJTuning.jl

cc @juliohm

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

No branches or pull requests

1 participant