DataSlingers / MoMA

MoMA: Modern Multivariate Analysis in R
https://DataSlingers.github.io/MoMA
GNU General Public License v2.0
22 stars 4 forks source link

Accessor with interpolation #40

Open Banana1530 opened 5 years ago

Banana1530 commented 5 years ago

https://github.com/michaelweylandt/MoMA/pull/37#discussion_r300016706

Longer term, we should think about making an accessor which takes alpha_u, lambda_u, etc (values not indices) and does the extraction. If we don't have exactly the right value in the saved list, we should (by default) interpolate with an option for an exact solve.

(Something similar for the coef function in Michael's ExclusiveLasso package.)