JuliaAI / JuliaAI/MLJTuning.jl

Allow hyper-parameter tuning for immutable models.

Open
#174 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
70
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Some context: https://github.com/JuliaML/TableTransforms.jl/issues/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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked TableTransforms.jl issue and the MLJTuning API discussion, then inspect the listed tuning strategies and their providers. Determine which strategies assume mutable model types and update the compatibility table; done means the breaking-change status and required scope are documented for all listed strategies.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, machine-learning
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.