File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1111
1212from framework_utils import get_save_name_synth
1313
14- RESULTS_DIR = "framework_results "
14+ RESULTS_DIR = "framework_results_synth "
1515os .makedirs (RESULTS_DIR , exist_ok = True )
1616
1717
@@ -236,13 +236,11 @@ def plot_legend(
236236
237237if __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}$\n m" ,
358+ "$\\ bf{Influence \ of\ Feature\ Distribution}$\n m" ,
361359 fontsize = title_fontsize ,
362360 labelpad = 12 ,
363361 ha = "center" ,
You can’t perform that action at this time.
0 commit comments