Correct apcer calculation
Compare changes
Some changes are not shown
For a faster browsing experience, some files are collapsed by default.
Files
7- Amir MOHAMMADI authored
+ 295
− 123
@@ -5,22 +5,31 @@
@@ -33,12 +42,15 @@ def calc_threshold(method, neg, pos):
@@ -63,11 +75,7 @@ def calc_pass_rate(threshold, attacks):
@@ -100,26 +108,21 @@ def weighted_neg_error_rate_criteria(data,
@@ -148,29 +151,27 @@ def recursive_thr_search(data,
@@ -197,10 +198,13 @@ def weighted_negatives_threshold(licit_neg,
@@ -215,14 +219,16 @@ def epsc_weights(licit_neg, licit_pos, spoof_neg, spoof_pos, points=100):
@@ -249,32 +255,37 @@ def epsc_thresholds(licit_neg,
@@ -291,13 +302,9 @@ def weighted_err(error_1, error_2, weight):
@@ -317,11 +324,11 @@ negative samples (impostors and spoofing attacks).
@@ -335,8 +342,9 @@ negative samples (impostors and spoofing attacks).
@@ -368,13 +376,20 @@ def epsc_error_rates(licit_neg, licit_pos, spoof_neg, spoof_pos, thresholds,
@@ -383,8 +398,9 @@ def epsc_error_rates(licit_neg, licit_pos, spoof_neg, spoof_pos, thresholds,
@@ -416,17 +432,24 @@ def all_error_rates(licit_neg, licit_pos, spoof_neg, spoof_pos, thresholds,
@@ -436,20 +459,28 @@ def all_error_rates(licit_neg, licit_pos, spoof_neg, spoof_pos, thresholds,
@@ -468,13 +499,15 @@ def calc_aue(licit_neg,
@@ -482,8 +515,147 @@ def calc_aue(licit_neg,