From b04dfae964d1f1e1dba634ea2864394f8f9002a1 Mon Sep 17 00:00:00 2001 From: Greg Mingas Date: Thu, 8 Apr 2021 14:06:23 +0100 Subject: [PATCH] Remove extrapolated v1 metric calculations --- metrics/utility-metrics/feature_importance.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/metrics/utility-metrics/feature_importance.py b/metrics/utility-metrics/feature_importance.py index 796730f..62512fd 100644 --- a/metrics/utility-metrics/feature_importance.py +++ b/metrics/utility-metrics/feature_importance.py @@ -564,10 +564,6 @@ def compare_features(rank_orig_features: list, rank_rlsd_features: list, # Correlated rank - orig vs. rlsd - all variations utility_collector["corr_rank_0.6"] = orig_rlsd_sim.correlated_rank_similarity(correlation_matrix, p=0.6) utility_collector["corr_rank_0.8"] = orig_rlsd_sim.correlated_rank_similarity(correlation_matrix, p=0.8) - utility_collector["corr_rank_ext_0.6"] = orig_rlsd_sim.correlated_rank_similarity_ext(correlation_matrix, - p=0.6) - utility_collector["corr_rank_ext_0.8"] = orig_rlsd_sim.correlated_rank_similarity_ext(correlation_matrix, - p=0.8) utility_collector["corr_rank_ext2_0.6"] = orig_rlsd_sim.correlated_rank_similarity(correlation_matrix, p=0.6, ext=True) utility_collector["corr_rank_ext2_0.8"] = orig_rlsd_sim.correlated_rank_similarity(correlation_matrix, @@ -591,10 +587,6 @@ def compare_features(rank_orig_features: list, rank_rlsd_features: list, # Correlated rank - orig against one random permutation - all variations utility_collector["corr_rank_rand_0.6"] = orig_rand_sim.correlated_rank_similarity(correlation_matrix, p=0.6) utility_collector["corr_rank_rand_0.8"] = orig_rand_sim.correlated_rank_similarity(correlation_matrix, p=0.8) - utility_collector["corr_rank_rand_ext_0.6"] = orig_rand_sim.correlated_rank_similarity_ext(correlation_matrix, - p=0.6) - utility_collector["corr_rank_rand_ext_0.8"] = orig_rand_sim.correlated_rank_similarity_ext(correlation_matrix, - p=0.8) utility_collector["corr_rank_rand_ext2_0.6"] = orig_rand_sim.correlated_rank_similarity(correlation_matrix, p=0.6, ext=True) utility_collector["corr_rank_rand_ext2_0.8"] = orig_rand_sim.correlated_rank_similarity(correlation_matrix, @@ -617,10 +609,6 @@ def compare_features(rank_orig_features: list, rank_rlsd_features: list, # Correlated rank - original vs. lower bound - all variations utility_collector["corr_rank_lower_0.6"] = orig_lower_sim.correlated_rank_similarity(correlation_matrix, p=0.6) utility_collector["corr_rank_lower_0.8"] = orig_lower_sim.correlated_rank_similarity(correlation_matrix, p=0.8) - utility_collector["corr_rank_lower_ext_0.6"] = orig_lower_sim.correlated_rank_similarity_ext(correlation_matrix, - p=0.6) - utility_collector["corr_rank_lower_ext_0.8"] = orig_lower_sim.correlated_rank_similarity_ext(correlation_matrix, - p=0.8) utility_collector["corr_rank_lower_ext2_0.6"] = orig_lower_sim.correlated_rank_similarity(correlation_matrix, p=0.6, ext=True) utility_collector["corr_rank_lower_ext2_0.8"] = orig_lower_sim.correlated_rank_similarity(correlation_matrix,