ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:2306.033] lasso_spectra: Predict properties from galaxy spectra using Lasso regression

lasso_spectra fits Lasso regression models to data, specifically galaxy spectra. It contains two classes for performing the actual model fitting. GeneralizedLasso is a tensorflow implementation of Lasso regression, which includes the ability to use link functions. SKLasso is a wrapper around the scikit-learn Lasso implementation intended to give the same syntax as GeneralizedLasso. It is much faster and more reliable, but does not support generalized linear models.

Code site:
https://github.com/hjens/lasso_spectra
Described in:
https://ui.adsabs.harvard.edu/abs/2016ApJ...827....5J
Bibcode:
2023ascl.soft06033J

Views: 678

ascl:2306.033
Add this shield to your page
Copy the above HTML to add this shield to your code's website.