Skip to content

Commit

Permalink
Remove extrapolated v1 metric calculations
Browse files Browse the repository at this point in the history
  • Loading branch information
gmingas committed Apr 8, 2021
1 parent c067dea commit aae547f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions metrics/utility-metrics/feature_importance.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,10 +489,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,
Expand All @@ -516,10 +512,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,
Expand All @@ -542,10 +534,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,
Expand Down

0 comments on commit aae547f

Please sign in to comment.