Skip to content

Commit c11ffd4

Browse files
committed
final changes
1 parent 674873d commit c11ffd4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

analyse_swap_keypoints.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ def bin_length(x, max_, min_, bin_width=None, n_bins=None):
6262

6363

6464
if __name__ == '__main__':
65+
##########################################################################################################
66+
### CODE FOR FIGURES FOR SWAP KEYPOINTS
67+
### unzip swap_files.zip
68+
##########################################################################################################
69+
6570
##########################################################################################################
6671
### CHOOSE DATASET BY SUPPLYING THE COMMANDLINE ARGUMENT
6772
parser = argparse.ArgumentParser(description='')

classifier_MABe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,6 @@
168168
f'Balanced F1 score: {np.mean(f1):.3f} +/- {np.std(f1):.3f}\n'
169169
f'Balanced Precision score: {np.mean(precision):.3f} +/- {np.std(precision):.3f}\n'
170170
f'Balanced Recall score: {np.mean(recall):.3f} +/- {np.std(recall):.3f}\n'
171-
f'Confusion matrix: {conf_mat / n_seeds}\n')
171+
f'Confusion matrix: {conf_mat / args.n_seeds}\n')
172172

173173

0 commit comments

Comments
 (0)