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

Implement get_max_error_patch in dicodile #49

Closed tomMoral closed 2 years ago

tomMoral commented 3 years ago

This step is necessary to get greedy dictionary learning to work efficiently with dicodile from alphacsc. the core idea is to find the patch with shape (n_channels, *atoms_support) with the largest reconstruction error from the current reconstruction.

The distributed algorithm would be: