lasso_spectra: Predict properties from galaxy spectra using Lasso regression
Abstract
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.
- Publication:
-
Astrophysics Source Code Library
- Pub Date:
- June 2023
- Bibcode:
- 2023ascl.soft06033J
- Keywords:
-
- Software