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

[ENH] multiple quantile regression #107

Closed
Ram0nB opened this issue Oct 5, 2023 · 3 comments · Fixed by #108
Closed

[ENH] multiple quantile regression #107

Ram0nB opened this issue Oct 5, 2023 · 3 comments · Fixed by #108
Labels
feature request New feature or request implementing algorithms Implementing algorithms, estimators, objects native to skpro module:regression probabilistic regression module

Comments

@Ram0nB
Copy link
Contributor

Ram0nB commented Oct 5, 2023

Is your feature request related to a problem? Please describe.

For quantile regression, often more than one quantile probability is of interest. However, existing Sklearn compatible quantile regressors always fit and predict a single quantile probability. To the best of my knowdlegde, there is no standardized way to integrate multiple quantile regression with Sktime/Skpro probabilistic prediction methods such as predict_quantiles/predict_intervals.

Describe the solution you'd like

New Skpro regressor that wraps multiple quantile regressors and supports probabilistic predictions from wrapped regressors.

Describe alternatives you've considered

None, as the proposed solution is already discussed in Sktime issue sktime/sktime#5357

@Ram0nB Ram0nB added the feature request New feature or request label Oct 5, 2023
@fkiraly fkiraly added module:regression probabilistic regression module implementing algorithms Implementing algorithms, estimators, objects native to skpro labels Oct 5, 2023
@fkiraly
Copy link
Collaborator

fkiraly commented Oct 6, 2023

for reference, the proposed is (presented in clearer and more precise language by @Ram0nB) this line in on the wishlist/roadmap #7:

image

@fkiraly
Copy link
Collaborator

fkiraly commented Oct 12, 2023

maybe out of scope for the current PR; but one question, @Ram0nB - there are different ways to deal with quantile crossing. Should we, and if yes how, take these into account?

@Ram0nB
Copy link
Contributor Author

Ram0nB commented Oct 16, 2023

Good one. We could provide the user a "method" parameter similar to Sktime's Imputer, provide the user a quantile_crossing_callable similar to Sktime's FunctionTransformer, or both. What are your thoughts on this @fkiraly ? Maybe we can open an enhancement issue for this for now?

fkiraly pushed a commit that referenced this issue Oct 20, 2023
Fixes #107

For quantile regression, often more than one quantile probability is of
interest. However, existing Sklearn compatible quantile regressors
always fit and predict a single quantile probability. To the best of my
knowdlegde, there is no standardized way to integrate multiple quantile
regression with Sktime/Skpro probabilistic prediction methods such as
predict_quantiles/predict_intervals. This PR adds new Skpro regressor
that wraps multiple quantile regressors and supports probabilistic
predictions from wrapped regressors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request implementing algorithms Implementing algorithms, estimators, objects native to skpro module:regression probabilistic regression module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants