simonpcouch / rinfa

Rust bindings for tidymodels [experimental]
https://simonpcouch.github.io/rinfa/
Other
7 stars 1 forks source link

implement `elasticnet.rs` #8

Open simonpcouch opened 3 months ago

simonpcouch commented 3 months ago

Then, .linfa_linear_reg() can switch() based on whether there's a penalty/mixture here:

https://github.com/simonpcouch/rinfa/blob/a5c459c6e37ddf08327dccb02c089647bf4c0420/R/mod-linear_reg.R#L30