SemParamsPenalty loss term for flexible regularization - #328
Conversation
alyst
commented
Jun 13, 2026
- single term to handle ridge/lasso/elasticnet and more
- support for hinge penalties
- allow l^alpha for any alpha
- allow affine transform of parameters before regularization
- SemSpec rather then SemImplied in ctor
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## devel #328 +/- ##
==========================================
+ Coverage 71.83% 73.34% +1.50%
==========================================
Files 51 58 +7
Lines 2223 2604 +381
==========================================
+ Hits 1597 1910 +313
- Misses 626 694 +68 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
0b690cd to
3b2e1f7
Compare
|
@Maximilian-Stefan-Ernst It should be ready for review |
use sparse utils in RAMMatrices
- single term to handle ridge/lasso/elasticnet and more - support for hinge penalties - allow l^alpha for any alpha - allow affine transform of parameters before regularization - SemSpec rather then SemImplied in ctor
3b2e1f7 to
7a485d3
Compare
|
@Maximilian-Stefan-Ernst I've added some convenience functions for working with parameters and model-derived sparse matrices that I have forgotten to cherry-pick. |
|
@Maximilian-Stefan-Ernst With v0.5 released, this refactoring/extension of regularization terms could, in principle, be merged into dev, if you think it's worth it. |