Skip to content
Snippets Groups Projects
Commit 57c967d2 authored by Fize Jacques's avatar Fize Jacques
Browse files

debug$

parent b50a7ffb
No related branches found
No related tags found
No related merge requests found
......@@ -89,6 +89,9 @@ H = G.copy()
float_epsilon = np.finfo(float).eps
df_data["p_0"] = df_data.apply(lambda x:1 if G.has_edge(x.u,x.v) else 0,axis =1)
for i in range(1,NB_ITERATION+1):
if H.size() < 30:
df_data["p_{0}".format(i)] = df_data["p_{0}".format(i-1)]
continue
old_probs = dict(df_data["hash_ p_{0}".format(i-1).split()].values)
auc_sbm,auc_spatial = get_aucs(H)
if VERBOSE : print("SBM: ",auc_sbm,"SPATIAL: ",auc_spatial)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment