Skip to content

Commit 0c34bb4

Browse files
committed
rename branch
1 parent fb087b2 commit 0c34bb4

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

framework_plot_explanations.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
from framework_utils import get_save_name_synth
1313

14-
RESULTS_DIR = "framework_results"
14+
RESULTS_DIR = "framework_results_synth"
1515
os.makedirs(RESULTS_DIR, exist_ok=True)
1616

1717

@@ -236,13 +236,11 @@ def plot_legend(
236236

237237
if __name__ == "__main__":
238238

239-
interaction_data = (
240-
"non-linear-interaction" # None, "linear-interaction", "non-linear-interaction"
241-
)
239+
interaction_data = None # None, "linear-interaction", "non-linear-interaction"
242240

243241
# load the data
244242
# _ = load_explanation_data(only_load=True, interaction_data=None)
245-
data = load_explanation_data(only_load=True, interaction_data=interaction_data)
243+
data = load_explanation_data(only_load=False, interaction_data=interaction_data)
246244

247245
plot_save_name = interaction_data if interaction_data is not None else "linear"
248246
plot_save_name = plot_save_name.replace("-", "_")
@@ -357,7 +355,7 @@ def plot_legend(
357355
labelpad=10,
358356
)
359357
axes[1, 0].set_ylabel(
360-
"$\\bf{Influnece\ of\ Feature\ Distribution}$\nm",
358+
"$\\bf{Influence\ of\ Feature\ Distribution}$\nm",
361359
fontsize=title_fontsize,
362360
labelpad=12,
363361
ha="center",

0 commit comments

Comments
 (0)