Add support for LightGBM importance_type hyperparameter
Maintainers usually reply within 2 days
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- machine-learning
Research direction
Start by reading the existing LightGBM hyperparameter configuration and model construction in the openstef-models package, then check its related tests and documentation. Add importance_type through the existing configuration mechanism and pass it to the model during training; done means users can configure the parameter and the tests and docs reflect it.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem?
Most LightGBM hyperparameters are already configurable in OpenSTEF. However, the importance_type parameter is currently not exposed.
This parameter has proven valuable for feature importance analysis and model interpretation. Without it, users cannot fully configure the underlying LightGBM model through OpenSTEF.
Describe the solution you'd like
Expose the LightGBM importance_type parameter as a configurable hyperparameter in OpenSTEF and pass it to the underlying LightGBM model during training.
This would allow users to choose the desired feature importance calculation method without modifying OpenSTEF source code.
Describe alternatives you've considered
The only current workaround is to modify the OpenSTEF codebase locally to set the parameter directly when constructing the LightGBM model. Given that importance_type is a native LightGBM parameter, it would be preferable to expose it through the existing configuration mechanism.
Affected package(s)
- openstef-core
- openstef-models
- openstef-beam
- openstef-foundation-models
- openstef-meta
- examples / deployment
- docs
- not sure
Would this require breaking changes to the public API?
- No
- Yes
- Not sure
Additional context
- Dominant language
- Python
- Stars
- 169
- Forks
- 59
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 8
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenSTEF/openstef
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 2 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 2 days
-
chore github-actions
Difficulty 3/5 1-2 days Newbie friendliness 67/100
Maintainers usually reply within 2 days
-
Add RMSEPossibly taken @SANJANAKUMARI83 claimed this 1 day ago. Openenhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 57/100
Maintainers usually reply within 2 days
-
run_chronos2_benchmark.py fails on macOS with default settings (STATIC checkpoint + BATCH_SIZE=16)Open
Difficulty 3/5 1-2 days Newbie friendliness 68/100
Maintainers usually reply within 2 days
All issues in OpenSTEF/openstef
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
spcl/HPCAgent-Bench#264 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ShaftHQ/chaosengine-harness#190 ·
Maintainers usually reply within 1 day
-
ui
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 Half a day Newbie friendliness 62/100
dataforgoodfr/democracy-watch#155 ·
Maintainers usually reply within 1 day
-
bot-triaged module: correctness (silent) module: fft triage review
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day