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

Support quantile linear regression #465

Open
brshallo opened this issue Apr 7, 2021 · 3 comments
Open

Support quantile linear regression #465

brshallo opened this issue Apr 7, 2021 · 3 comments
Labels
feature a feature request or enhancement

Comments

@brshallo
Copy link

brshallo commented Apr 7, 2021

Add support for quantile linear regression, e.g.

library(parsnip)

linear_reg() %>% 
  set_engine("quantreg", tau = 0.50) %>% 
  set_mode("quantiles") # maybe unnecessary... see #85

(This issue stems from Rstudio Community thread and Mara's encouragement to open an issue to move discussion to github.)

@juliasilge
Copy link
Member

Related to #119

@juliasilge juliasilge added the feature a feature request or enhancement label Apr 7, 2021
@SaintRod
Copy link

Hi, @juliasilge. I wanted to chime in and add support for adding quantreg as an engine for linear_reg().

Two follow-up questions:

  • Is there an existing way to model the median vs the mean?
  • If ^ == no, do you think that adding quantreg as an engine is something that could be contributed to parsnip via a PR? I'd be thrilled to try if so...

PS. Thanks for all the great work on tidymodels!

@pbhogale
Copy link

I wanted to add my support for this too. Enabling quantile regression with quantreg::rq as well as xgboost would be awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

4 participants