This question looks very similar to one I posted a few weeks ago. Directly emulate Ridge Regression and LASSO with a neural network? I have made some progress on it but have not had time to post a notebook of results. My approach looks similar to yours with shared arrays. If you want to message me, I can send you a no warranties notebook.
schandler
(Seth Chandler)
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Directly emulate Ridge Regression and LASSO with a neural network? | 6 | 14180 | May 15, 2022 | |
| Changing value of a NetArray or a NetArrayLayer during training? | 2 | 6392 | January 12, 2021 | |
| Nonlinearity in inputs without activation function layers? | 7 | 2890 | September 17, 2025 | |
| Use custom loss function in NetTrain? | 2 | 13910 | December 20, 2016 | |
| Create a custom loss function with NetTrain? | 3 | 13494 | August 14, 2018 |