From 21fc3fda8d42802473eb2c1efd6d6bdce513c0d1 Mon Sep 17 00:00:00 2001 From: Frida Heskebeck <frida.heskebeck@control.lth.se> Date: Thu, 26 Sep 2024 08:31:32 +0200 Subject: [PATCH] Update name of TPP in figures. --- source_selection/source_selection.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source_selection/source_selection.py b/source_selection/source_selection.py index 0d6595c..5698033 100644 --- a/source_selection/source_selection.py +++ b/source_selection/source_selection.py @@ -1791,7 +1791,7 @@ def baseline_comparision_mean_performance(data, clf_name, type_clf, run_logdir=' #'Best teacher':best_teacher, 'Best teacher':best_teacher_30_percentage_students, 'Max of methods' : max_of_methods, - 'TransPerfPred' :my_method, + 'TPP' :my_method, 'Oracle' : oracle, } @@ -1800,7 +1800,7 @@ def baseline_comparision_mean_performance(data, clf_name, type_clf, run_logdir=' 'Random source': 'tab:orange', 'Best teacher': 'tab:red', 'Best source': 'tab:green', - 'TransPerfPred' : 'tab:purple', + 'TPP' : 'tab:purple', 'Oracle' : 'tab:brown', 'Max of methods':'tab:pink', 'Worst': 'tab:cyan', @@ -2060,7 +2060,7 @@ def baseline_comparision_varying_nbr_source_data(data, clf_name, type_clf, run_l #'Best teacher':best_teacher, 'Best teacher':1, 'Max of methods' : 1, - 'TransPerfPred' :1, + 'TPP' :1, 'Oracle' : 1, } nbr_methods = len(list(dict_of_data.keys())) @@ -2248,7 +2248,7 @@ def baseline_comparision_varying_nbr_source_data(data, clf_name, type_clf, run_l #'Best teacher':best_teacher, 'Best teacher':best_teacher_30_percentage_students, 'Max of methods' : max_of_methods, - 'TransPerfPred' :my_method, + 'TPP' :my_method, 'Oracle' : oracle, } -- GitLab