-
Notifications
You must be signed in to change notification settings - Fork 76
[ENH] LightGBMLSS interface #639
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
base: main
Are you sure you want to change the base?
Conversation
|
code quality checks are failing, see https://www.sktime.net/en/stable/developer_guide/coding_standards.html |
@fkiraly , i will look into it. Thank you |
Ah, I see - you are right. In this case, I believe this feature requires In the |
fkiraly
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Looks like it should work.
Two comments:
- the estimator seems to be failing tests - is this stochastic? FYI @StatMixedML
- this looks largely identical to the
xgboostlssinterface - good that you recognized this! Of course copy-pasting is a good starting idea, but I think we should not leave it with duplicate code, due to the DRY principle https://en.wikipedia.org/wiki/Don%27t_repeat_yourself. I would move methods or pieces of code that are common to both estimators into a new mixin class in a new moduleregression.adapters._statmixedml(if this looks reasonably modularizable)
Thanks for the review! • I’ve introduced a new shared module •Regarding the failing CI tests, I'm trying to reproduce them locally. The CI output shows that |
It should get picked up, can you share how you are trying to run, or how you are discovering tests?
The easiest is to run |
|
I think the package is available only for up to python 3.11 - so you nay want to set the |
|
The original LightGBMLSS is now aligned with @fkiraly's implementation for XGBoostLSS. just wanted to inform you. |
fkiraly
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Please restore deleted content, e.g., the entire docstring of XGBoostLSS, or the _hyperopt method, etc.
If you use AI, please check what it does and do not allow it to delete random stuff.

Reference Issues/PRs
Fixes #589
What does this implement/fix? Explain your changes.
Adds interface for lightgbmlss probabilistic regressorDoes your contribution introduce a new dependency? If yes, which one?
What should a reviewer concentrate their feedback on?
Did you add any tests for the change?
Any other comments?
PR checklist
For all contributions
How to: add yourself to the all-contributors file in the
skproroot directory (not theCONTRIBUTORS.md). Common badges:code- fixing a bug, or adding code logic.doc- writing or improving documentation or docstrings.bug- reporting or diagnosing a bug (get this pluscodeif you also fixed the bug in the PR).maintenance- CI, test framework, release.See here for full badge reference
For new estimators
docs/source/api_reference/taskname.rst, follow the pattern.Examplessection.python_dependenciestag and ensureddependency isolation, see the estimator dependencies guide.