oem icon indicating copy to clipboard operation
oem copied to clipboard

Support box constraints?

Open tomwenseleers opened this issue 6 years ago • 3 comments

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?

tomwenseleers avatar Apr 09 '18 09:04 tomwenseleers

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

jaredhuling avatar Apr 09 '18 13:04 jaredhuling

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...

tomwenseleers avatar Apr 09 '18 15:04 tomwenseleers

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

jaredhuling avatar Apr 09 '18 16:04 jaredhuling