[BioC] lower.limits and upper.limits in glmnet

Steve Lianoglou lianoglou.steve at gene.com
Mon Oct 21 20:13:55 CEST 2013


Hi,

On Mon, Oct 21, 2013 at 10:51 AM, Yue Li <yueli at cs.toronto.edu> wrote:
> Dear List,
>
> A quick question about using the glmnet package (which I know is not a BioC package ... apologies):
>
> Would the options "upper.limits" and "lower.limits" in glmnet be equivalent to an additionally constrained optimization on the range of the coefficients?
>
> For instance, would setting upper.limits to 0 be equivalent to a non-positive least squared linear regression (regularized)?

Reading the documentation for those parameters in the `?glmnet` docs
certainly suggests so, no?

This is simple enough for you to try yourself, though, so why not just
give it a shot and report back with your results?

-steve

-- 
Steve Lianoglou
Computational Biologist
Bioinformatics and Computational Biology
Genentech



More information about the Bioconductor mailing list