Open simonpcouch opened 3 months ago
Then, .linfa_linear_reg() can switch() based on whether there's a penalty/mixture here:
.linfa_linear_reg()
switch()
penalty
mixture
https://github.com/simonpcouch/rinfa/blob/a5c459c6e37ddf08327dccb02c089647bf4c0420/R/mod-linear_reg.R#L30
Then,
.linfa_linear_reg()
canswitch()
based on whether there's apenalty
/mixture
here:https://github.com/simonpcouch/rinfa/blob/a5c459c6e37ddf08327dccb02c089647bf4c0420/R/mod-linear_reg.R#L30