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 9 forks source link

ENH accelarate dicodile #59

Open hndgzkn opened 1 year ago

hndgzkn commented 1 year ago

Improves dicodile's performance:

codecov[bot] commented 1 year ago

Codecov Report

Base: 78.29% // Head: 78.60% // Increases project coverage by +0.30% :tada:

Coverage data is based on head (24d414b) compared to base (8e5a75a). Patch coverage: 95.16% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #59 +/- ## ========================================== + Coverage 78.29% 78.60% +0.30% ========================================== Files 43 43 Lines 2856 2888 +32 ========================================== + Hits 2236 2270 +34 + Misses 620 618 -2 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `78.60% <95.16%> (+0.30%)` | :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/59?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Thomas+Moreau) | Coverage Δ | | |---|---|---| | [dicodile/update\_z/coordinate\_descent.py](https://codecov.io/gh/tomMoral/dicodile/pull/59?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Thomas+Moreau#diff-ZGljb2RpbGUvdXBkYXRlX3ovY29vcmRpbmF0ZV9kZXNjZW50LnB5) | `41.62% <80.00%> (+0.44%)` | :arrow_up: | | [dicodile/workers/dicod\_worker.py](https://codecov.io/gh/tomMoral/dicodile/pull/59?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Thomas+Moreau#diff-ZGljb2RpbGUvd29ya2Vycy9kaWNvZF93b3JrZXIucHk=) | `96.03% <89.36%> (+0.04%)` | :arrow_up: | | [dicodile/utils/segmentation.py](https://codecov.io/gh/tomMoral/dicodile/pull/59?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Thomas+Moreau#diff-ZGljb2RpbGUvdXRpbHMvc2VnbWVudGF0aW9uLnB5) | `96.69% <95.80%> (+0.18%)` | :arrow_up: | | [dicodile/update\_z/dicod.py](https://codecov.io/gh/tomMoral/dicodile/pull/59?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Thomas+Moreau#diff-ZGljb2RpbGUvdXBkYXRlX3ovZGljb2QucHk=) | `79.25% <100.00%> (+0.22%)` | :arrow_up: | | [dicodile/utils/debugs.py](https://codecov.io/gh/tomMoral/dicodile/pull/59?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\_segmentation.py](https://codecov.io/gh/tomMoral/dicodile/pull/59?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% <100.00%> (ø)` | | 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.