tomMoral / dicodile

Experiments for "Distributed Convolutional Dictionary Learning (DiCoDiLe): Pattern Discovery in Large Images and Signals"
https://tommoral.github.io/dicodile/
BSD 3-Clause "New" or "Revised" License
18 stars 10 forks source link

Update n atoms with set worker d #55

Closed rprimet closed 1 year ago

rprimet commented 2 years ago

Support for adding atoms (fixes #53)

codecov[bot] commented 2 years ago

Codecov Report

Base: 77.42% // Head: 78.22% // Increases project coverage by +0.79% :tada:

Coverage data is based on head (4ed1f1f) compared to base (1e4bc06). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #55 +/- ## ========================================== + Coverage 77.42% 78.22% +0.79% ========================================== Files 43 42 -1 Lines 2809 2889 +80 ========================================== + Hits 2175 2260 +85 + Misses 634 629 -5 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `78.22% <100.00%> (+0.79%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Thomas+Moreau#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/tomMoral/dicodile/pull/55?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Thomas+Moreau) | Coverage Δ | | |---|---|---| | [dicodile/tests/test\_config.py](https://codecov.io/gh/tomMoral/dicodile/pull/55/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Thomas+Moreau#diff-ZGljb2RpbGUvdGVzdHMvdGVzdF9jb25maWcucHk=) | `100.00% <100.00%> (ø)` | | | [dicodile/update\_z/distributed\_sparse\_encoder.py](https://codecov.io/gh/tomMoral/dicodile/pull/55/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Thomas+Moreau#diff-ZGljb2RpbGUvdXBkYXRlX3ovZGlzdHJpYnV0ZWRfc3BhcnNlX2VuY29kZXIucHk=) | `80.35% <100.00%> (+4.65%)` | :arrow_up: | | [.../update\_z/tests/test\_distributed\_sparse\_encoder.py](https://codecov.io/gh/tomMoral/dicodile/pull/55/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Thomas+Moreau#diff-ZGljb2RpbGUvdXBkYXRlX3ovdGVzdHMvdGVzdF9kaXN0cmlidXRlZF9zcGFyc2VfZW5jb2Rlci5weQ==) | `100.00% <100.00%> (ø)` | | | [dicodile/utils/csc.py](https://codecov.io/gh/tomMoral/dicodile/pull/55/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Thomas+Moreau#diff-ZGljb2RpbGUvdXRpbHMvY3NjLnB5) | `100.00% <100.00%> (ø)` | | | [dicodile/utils/debug\_flags.py](https://codecov.io/gh/tomMoral/dicodile/pull/55/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Thomas+Moreau#diff-ZGljb2RpbGUvdXRpbHMvZGVidWdfZmxhZ3MucHk=) | `100.00% <100.00%> (ø)` | | | [dicodile/utils/debugs.py](https://codecov.io/gh/tomMoral/dicodile/pull/55/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Thomas+Moreau#diff-ZGljb2RpbGUvdXRpbHMvZGVidWdzLnB5) | `100.00% <100.00%> (ø)` | | | [dicodile/utils/tests/test\_csc.py](https://codecov.io/gh/tomMoral/dicodile/pull/55/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Thomas+Moreau#diff-ZGljb2RpbGUvdXRpbHMvdGVzdHMvdGVzdF9jc2MucHk=) | `100.00% <100.00%> (ø)` | | | [dicodile/workers/dicod\_worker.py](https://codecov.io/gh/tomMoral/dicodile/pull/55/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Thomas+Moreau#diff-ZGljb2RpbGUvd29ya2Vycy9kaWNvZF93b3JrZXIucHk=) | `94.57% <100.00%> (+0.31%)` | :arrow_up: | | [dicodile/utils/segmentation.py](https://codecov.io/gh/tomMoral/dicodile/pull/55/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Thomas+Moreau#diff-ZGljb2RpbGUvdXRpbHMvc2VnbWVudGF0aW9uLnB5) | `96.51% <0.00%> (ø)` | | | [dicodile/utils/tests/test\_segmentation.py](https://codecov.io/gh/tomMoral/dicodile/pull/55/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Thomas+Moreau#diff-ZGljb2RpbGUvdXRpbHMvdGVzdHMvdGVzdF9zZWdtZW50YXRpb24ucHk=) | `100.00% <0.00%> (ø)` | | | ... and [3 more](https://codecov.io/gh/tomMoral/dicodile/pull/55/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Thomas+Moreau) | | 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=Thomas+Moreau). 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=Thomas+Moreau)

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