fdtomasi / regain

REGAIN (Regularised Graphical Inference)
BSD 3-Clause "New" or "Revised" License
28 stars 13 forks source link

update prox and norms #37

Closed fdtomasi closed 1 year ago

fdtomasi commented 1 year ago

Avoid maps and iterations where possible.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 70.46% and project coverage change: +0.02 :tada:

Comparison is base (e9129f4) 34.13% compared to head (d859277) 34.15%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #37 +/- ## ========================================== + Coverage 34.13% 34.15% +0.02% ========================================== Files 69 70 +1 Lines 5962 5958 -4 ========================================== Hits 2035 2035 + Misses 3927 3923 -4 ``` | [Impacted Files](https://codecov.io/gh/fdtomasi/regain/pull/37?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Federico+Tomasi) | Coverage Δ | | |---|---|---| | [regain/bayesian/wishart\_process\_.py](https://codecov.io/gh/fdtomasi/regain/pull/37?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Federico+Tomasi#diff-cmVnYWluL2JheWVzaWFuL3dpc2hhcnRfcHJvY2Vzc18ucHk=) | `0.00% <0.00%> (ø)` | | | [...ain/covariance/latent\_time\_matrix\_decomposition.py](https://codecov.io/gh/fdtomasi/regain/pull/37?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Federico+Tomasi#diff-cmVnYWluL2NvdmFyaWFuY2UvbGF0ZW50X3RpbWVfbWF0cml4X2RlY29tcG9zaXRpb24ucHk=) | `0.00% <0.00%> (ø)` | | | [regain/generalized\_linear\_model/glm\_ising.py](https://codecov.io/gh/fdtomasi/regain/pull/37?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Federico+Tomasi#diff-cmVnYWluL2dlbmVyYWxpemVkX2xpbmVhcl9tb2RlbC9nbG1faXNpbmcucHk=) | `0.00% <0.00%> (ø)` | | | [regain/forward\_backward/time\_graphical\_lasso\_.py](https://codecov.io/gh/fdtomasi/regain/pull/37?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Federico+Tomasi#diff-cmVnYWluL2ZvcndhcmRfYmFja3dhcmQvdGltZV9ncmFwaGljYWxfbGFzc29fLnB5) | `69.73% <50.00%> (-0.40%)` | :arrow_down: | | [regain/prox.py](https://codecov.io/gh/fdtomasi/regain/pull/37?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Federico+Tomasi#diff-cmVnYWluL3Byb3gucHk=) | `74.78% <65.21%> (-3.39%)` | :arrow_down: | | [regain/forward\_backward/forward\_backward.py](https://codecov.io/gh/fdtomasi/regain/pull/37?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Federico+Tomasi#diff-cmVnYWluL2ZvcndhcmRfYmFja3dhcmQvZm9yd2FyZF9iYWNrd2FyZC5weQ==) | `37.70% <66.66%> (ø)` | | | [.../covariance/kernel\_latent\_time\_graphical\_lasso\_.py](https://codecov.io/gh/fdtomasi/regain/pull/37?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Federico+Tomasi#diff-cmVnYWluL2NvdmFyaWFuY2Uva2VybmVsX2xhdGVudF90aW1lX2dyYXBoaWNhbF9sYXNzb18ucHk=) | `66.23% <75.00%> (-0.29%)` | :arrow_down: | | [regain/covariance/time\_graphical\_lasso\_.py](https://codecov.io/gh/fdtomasi/regain/pull/37?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Federico+Tomasi#diff-cmVnYWluL2NvdmFyaWFuY2UvdGltZV9ncmFwaGljYWxfbGFzc29fLnB5) | `87.50% <78.26%> (+0.47%)` | :arrow_up: | | [regain/covariance/graphical\_lasso\_.py](https://codecov.io/gh/fdtomasi/regain/pull/37?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Federico+Tomasi#diff-cmVnYWluL2NvdmFyaWFuY2UvZ3JhcGhpY2FsX2xhc3NvXy5weQ==) | `92.85% <80.00%> (-0.17%)` | :arrow_down: | | [regain/covariance/kernel\_time\_graphical\_lasso\_.py](https://codecov.io/gh/fdtomasi/regain/pull/37?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Federico+Tomasi#diff-cmVnYWluL2NvdmFyaWFuY2Uva2VybmVsX3RpbWVfZ3JhcGhpY2FsX2xhc3NvXy5weQ==) | `54.09% <80.00%> (+0.20%)` | :arrow_up: | | ... and [7 more](https://codecov.io/gh/fdtomasi/regain/pull/37?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Federico+Tomasi) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Federico+Tomasi). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Federico+Tomasi)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.