From 08e81610a92e8872e6bfbde8f7a51cc0d86c53e0 Mon Sep 17 00:00:00 2001 From: Primoz Date: Mon, 6 Feb 2023 11:21:17 +0100 Subject: [PATCH] Fix method params --- exploration/expl_features_groups_analysis.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exploration/expl_features_groups_analysis.py b/exploration/expl_features_groups_analysis.py index 7830dcf..aae4bdd 100644 --- a/exploration/expl_features_groups_analysis.py +++ b/exploration/expl_features_groups_analysis.py @@ -283,7 +283,7 @@ xs, y_recall, y_fscore, recall_std, fscore_std = sort_tuples_to_lists(sensor_gro # %% [markdown] # ### Visualize sensors groups F1 and recall scores print(sensor_groups_importance_scores) -plot_sequential_progress_of_feature_addition_scores(xs, y_recall, y_fscore, recall_std, fscore_std, recall_std, fscore_std, +plot_sequential_progress_of_feature_addition_scores(xs, y_recall, y_fscore, recall_std, fscore_std, title="Sequential addition of sensors and its F1, and recall scores") # %% @@ -298,7 +298,8 @@ xs, y_recall, y_fscore, recall_std, fscore_std = sort_tuples_to_lists(best_senso # %% [markdown] # ### Visualize best sensor's F1 and recall scores print(best_sensor_features_scores) -plot_sequential_progress_of_feature_addition_scores(xs, y_recall, y_fscore) +plot_sequential_progress_of_feature_addition_scores(xs, y_recall, y_fscore, recall_std, fscore_std, + title="Best sensor addition it's features with F1 and recall scores") # %% # This section iterates over all sensor groups and investigates sequential feature importance feature-by-feature