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 box constraints? #13

Open
tomwenseleers opened this issue Apr 9, 2018 · 3 comments
Open

Support box constraints? #13

tomwenseleers opened this issue Apr 9, 2018 · 3 comments

Comments

@tomwenseleers
Copy link

Would you see any possibility to support box constraints on the fitted coefficients, similar to what can be achieved with lower.limits and upper.limits in glmnet?

@jaredhuling
Copy link
Owner

I think it would be possible, but I won't be able to implement it in the near future

@tomwenseleers
Copy link
Author

No worries - it was mainly nonnegativity constraints that I needed - I guess for now I'll just have to clip negative coefficients to zero then...

@jaredhuling
Copy link
Owner

Adding the constraints should be easier than I originally thought; but I still won't be able to get to it for a couple of weeks I think

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

No branches or pull requests

2 participants