You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Things that we can do/discuss for alphacsc/dicodile integration. Let's discuss those on monday.
Add tests for the z_encoder behavior and the different backends.
Implement a first dicodile powered Encoder backend
Overall, avoid calling get_z_hat if not strictly necessary. This is costly in communication and all operations that can be distributed are more efficient.
In compute_d_multi, give z_encoder instead of X, z_hat, D_hat, constants. This way, depending on the algorithm, it can either call get_sufficient_statistic or get_z_hat depending on what it needs. Maybe also we can see if we can implement some other operations in update_d_multi this way.
For callback, also try to use the z_encoder as much as possible.
implement efficient operation when D_hat is composed of rank_1 atoms in dicodile
Things that we can do/discuss for
alphacsc/dicodile
integration. Let's discuss those on monday.z_encoder
behavior and the different backends.Encoder
backendget_z_hat
if not strictly necessary. This is costly in communication and all operations that can be distributed are more efficient.compute_d_multi
, givez_encoder
instead ofX, z_hat, D_hat, constants
. This way, depending on the algorithm, it can either callget_sufficient_statistic
orget_z_hat
depending on what it needs. Maybe also we can see if we can implement some other operations inupdate_d_multi
this way.z_encoder
as much as possible.D_hat
is composed of rank_1 atoms indicodile
add_one_atom
indicodile
get_error_max
indicodile
in a distributed algorithm. (see Implement get_max_error_patch in dicodile tomMoral/dicodile#49 ).The text was updated successfully, but these errors were encountered: