seyonec commited on
Commit
2d73d85
·
1 Parent(s): 2e7fa7b

price benchmark

Browse files
clean_selection/analyze_clean_hierarchical_loss_protein_vec.ipynb CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:462ddc0571c5bb0200078382f301c55a81ff68ba40a0ac71187344ea287f2fb2
3
- size 66885
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17792a81e3b66606738ca77aa001077daa7f5c0063b3f956902996871561817c
3
+ size 86942
clean_selection/clean_utils.py CHANGED
@@ -27,6 +27,10 @@ def get_true_labels_test(file_name, test_idx: None):
27
  for ec in true_ec_lst:
28
  if test_idx is not None and count - 1 in test_idx:
29
  all_label.add(ec)
 
 
 
 
30
  if header:
31
  header = False
32
  true_label = [true_label_dict[i] for i in true_label_dict.keys()]
 
27
  for ec in true_ec_lst:
28
  if test_idx is not None and count - 1 in test_idx:
29
  all_label.add(ec)
30
+ elif test_idx is None: ## add all EC labels
31
+ all_label.add(ec)
32
+ else:
33
+ continue
34
  if header:
35
  header = False
36
  true_label = [true_label_dict[i] for i in true_label_dict.keys()]