-
Notifications
You must be signed in to change notification settings - Fork 34
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
FEAT - Double quadratic datafit (quad-quad) #272
Comments
Welcome back @tomaszkacprzak ! Is it not something like: Can you give the implementation a try through a PR, like you did for positive group lasso ? |
Also I believe it should be |
Hi @mathurinm thank you for a fast reply. Indeed there was a mistake in my equation, the one you gave should be right. I can try a PR. I could start with a Quadratic and modify all the functions. Do you expect any difficulties for optimisation? |
Yes that sounds like a plan, and no I don't foresee any difficulty! |
@tomaszkacprzak could you also please let us know in which context you use skglm, and what it brings you compared to alternatives? |
Hi @tomaszkacprzak, any news on this? |
Description of the feature
In many applications there is a need to have an asymmetric loss that weights negative and positive residuals differently. A good function for this is double quadratic loss (quad-quad):
where$\epsilon = Xw - y$ is the residual, $\alpha$ controls the degree of asymmetry and $1[·]$ is the indicator function. For $\alpha=0.5$ this function is equivalent to Quadratic datafit.
Would it be possible to add DoubleQuadratic datafit and have it compatible with the Lasso and other penalties?
Considered alternatives
Another possibility is to use Pinball loss.
The text was updated successfully, but these errors were encountered: