Commit 6f7622ee authored by Hanna  JULIENNE's avatar Hanna JULIENNE

debug print

parent b3826dc8
Pipeline #44865 passed with stages
in 1 minute and 6 seconds
......@@ -53,7 +53,13 @@ def compute_var(sig_i_t, sig_t_inv, lamb, batch=True):
return var, ld_score
def check_inversion(sig_t, sig_t_inv):
print("sig_t")
print(sig_t)
print(np.any(np.isnan(sig_t)))
print("sig_t_inv")
print(sig_t_inv)
print("has na")
print(np.any(np.isnan(sig_t_inv)))
return np.allclose(sig_t, np.dot(sig_t, np.dot(sig_t_inv, sig_t)))
def var_in_boundaries(var,lamb):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment