plot_simulation

Functions

plot_curve_with_noise(x_in, y_in[, style, noise_scale])

draw1(ax, res, idx1, idx2[, remove_zero, color, ...])

plot_curve(res_comm, res_diff[, idx1, idx2])

get_range_large(x, y)

plot_average_f1(ax, res_ddn, res_jgl, l1_lst[, hightlight])

plot_ddn_jgl_res(res, l1_lst, l2_lst)

plot_ddn_jgl_simple(ax, res, l2_lst)

For comparison with DINGO

plot_ddn_jgl_simple1(ax, res, l2_lst)

For comparison with DINGO

get_f1_mat(a_in)

Collect the F1 score for different lambda1 and lambda2

get_best_f2(res_now)

get_ground_truth_edge_count(n_node, graph_type, n_group)

count_edges_P_N()

collect_curves(res_name_dict, dat_dir)

draw_f1(curve_dict[, x_type, scale_free])

draw_roc(curve_dict[, x_type, y_type, scale_free])

draw_f1_feature_num(curve_dict[, x_type])

draw_roc_feature_num(curve_dict[, x_type, y_type])

draw_f1_balance(curve_dict[, x_type])

draw_roc_balance(curve_dict[, x_type, y_type])

Module Contents

plot_simulation.plot_curve_with_noise(x_in, y_in, style=0, noise_scale=0.01)
plot_simulation.draw1(ax, res, idx1, idx2, remove_zero=False, color='blue', alpha=1.0, ratio_max=0.9, label='')
plot_simulation.plot_curve(res_comm, res_diff, idx1=2, idx2=4)
plot_simulation.get_range_large(x, y)
plot_simulation.plot_average_f1(ax, res_ddn, res_jgl, l1_lst, hightlight=False)
plot_simulation.plot_ddn_jgl_res(res, l1_lst, l2_lst)
plot_simulation.plot_ddn_jgl_simple(ax, res, l2_lst)

For comparison with DINGO

plot_simulation.plot_ddn_jgl_simple1(ax, res, l2_lst)

For comparison with DINGO

plot_simulation.get_f1_mat(a_in)

Collect the F1 score for different lambda1 and lambda2

plot_simulation.get_best_f2(res_now)
plot_simulation.get_ground_truth_edge_count(n_node, graph_type, n_group)
plot_simulation.count_edges_P_N()
plot_simulation.collect_curves(res_name_dict, dat_dir)
plot_simulation.draw_f1(curve_dict, x_type='f1_diff', scale_free=2)
plot_simulation.draw_roc(curve_dict, x_type='fpr_comm', y_type='tpr_comm', scale_free=2)
plot_simulation.draw_f1_feature_num(curve_dict, x_type='f1_diff')
plot_simulation.draw_roc_feature_num(curve_dict, x_type='fpr_comm', y_type='tpr_comm')
plot_simulation.draw_f1_balance(curve_dict, x_type='f1_diff')
plot_simulation.draw_roc_balance(curve_dict, x_type='fpr_comm', y_type='tpr_comm')