Closed arose13 closed 3 years ago
Indeed, the docstring seems wrong. Could you send a PR for correcting the docstring?
Support for non-negative constraints could be useful too but it seems to be a bit of work (you need to modify primal_cd_fast.pyx
).
CDRegressor
doesn't use the penalty objects by the way.
If you need non-negative constraints, you can use lbfgs in scipy, which supports a bounds
arguments.
Closed via #152.
The docs say that the allowed penalties are...
But
nnl1
andnnl2
do not work. This appears to be because the penalty object itself is not implemented.Unless there is some reason why this is not implemented in the Regressor? If not I'd love to contribute a PR for this.