-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add NormL1plusL2 #133
Add NormL1plusL2 #133
Conversation
Codecov Report
@@ Coverage Diff @@
## master #133 +/- ##
==========================================
- Coverage 87.42% 87.29% -0.14%
==========================================
Files 78 79 +1
Lines 2490 2510 +20
==========================================
+ Hits 2177 2191 +14
- Misses 313 319 +6
Continue to review full report at Codecov.
|
I wasn't completely happy with the implementation of
|
I made a couple of changes, for example allowing complex domain, added more tests, and fixed the printing for Array case. I hope you don't mind. |
Hi Mattias, I am not sure whether the proof would work for complex |
Hi all, is this still open/ under discussion? Best, Fabian |
@fabian-sp this looks good to me! Thanks for implementing this! |
I think the general setting of the package is that of (extended) real valued functions, so all coefficients in front of norms and penalties should have no imaginary part |
I created the function for the sum of L1 and L2. I think together with
SlicedSeparableSum
this is exactly what you need for the Group Lasso penalty.Regarding tests: could add that it has to match
NormL1
andNormL2
for one of the two parameters being zero, but was not so sure how/where to do that.Another question: I had some problems importing the
prox!
-function fromNormL1/2
, and solved it withimport ProximalOperators: prox!
Is this the intended way in Julia to import functions from other files within a module?
Cheers,
Fabian