Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Delete configs/model/metrics
Browse files- configs/model/metrics/accuracy.yaml +0 -4
- configs/model/metrics/auprc.yaml +0 -4
- configs/model/metrics/auroc.yaml +0 -4
- configs/model/metrics/bedroc.yaml +0 -3
- configs/model/metrics/ci.yaml +0 -2
- configs/model/metrics/concordance_index.yaml +0 -2
- configs/model/metrics/confusion_matrix.yaml +0 -1
- configs/model/metrics/dta_metrics.yaml +0 -4
- configs/model/metrics/dti_case_study.yaml +0 -18
- configs/model/metrics/dti_metrics.yaml +0 -15
- configs/model/metrics/ef.yaml +0 -23
- configs/model/metrics/f1_score.yaml +0 -4
- configs/model/metrics/hit_rate.yaml +0 -24
- configs/model/metrics/ir_hit_rate.yaml +0 -3
- configs/model/metrics/mean_squared_error.yaml +0 -2
- configs/model/metrics/mse.yaml +0 -2
- configs/model/metrics/pearson.yaml +0 -2
- configs/model/metrics/prc.yaml +0 -4
- configs/model/metrics/precision.yaml +0 -4
- configs/model/metrics/recall.yaml +0 -4
- configs/model/metrics/roc.yaml +0 -4
- configs/model/metrics/sensitivity.yaml +0 -4
- configs/model/metrics/specificity.yaml +0 -4
- configs/model/metrics/test_metrics.yaml +0 -11
- configs/model/metrics/ww_dti_metrics.yaml +0 -193
configs/model/metrics/accuracy.yaml
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
Accuracy:
|
2 |
-
_target_: torchmetrics.Accuracy
|
3 |
-
task: ${task.task}
|
4 |
-
num_classes: ${task.num_classes}
|
|
|
|
|
|
|
|
|
|
configs/model/metrics/auprc.yaml
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
AUPRC:
|
2 |
-
_target_: torchmetrics.AveragePrecision
|
3 |
-
task: ${task.task}
|
4 |
-
num_classes: ${task.num_classes}
|
|
|
|
|
|
|
|
|
|
configs/model/metrics/auroc.yaml
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
AUROC:
|
2 |
-
_target_: torchmetrics.AUROC
|
3 |
-
task: ${task.task}
|
4 |
-
num_classes: ${task.num_classes}
|
|
|
|
|
|
|
|
|
|
configs/model/metrics/bedroc.yaml
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
BEDROC:
|
2 |
-
_target_: deepscreen.models.metrics.bedroc.BEDROC
|
3 |
-
alpha: 80.5
|
|
|
|
|
|
|
|
configs/model/metrics/ci.yaml
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
CI:
|
2 |
-
_target_: deepscreen.models.metrics.ci.ConcordanceIndex
|
|
|
|
|
|
configs/model/metrics/concordance_index.yaml
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
# FIXME: implement concordance index
|
2 |
-
_target_:
|
|
|
|
|
|
configs/model/metrics/confusion_matrix.yaml
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
_target_: torchmetrics.ConfusionMatrix
|
|
|
|
configs/model/metrics/dta_metrics.yaml
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
defaults:
|
2 |
-
- mse
|
3 |
-
- pearson
|
4 |
-
- ci
|
|
|
|
|
|
|
|
|
|
configs/model/metrics/dti_case_study.yaml
DELETED
@@ -1,18 +0,0 @@
|
|
1 |
-
# train/test with many metrics at once
|
2 |
-
|
3 |
-
defaults:
|
4 |
-
- auroc
|
5 |
-
- auprc
|
6 |
-
- specificity
|
7 |
-
- sensitivity
|
8 |
-
- precision
|
9 |
-
- recall
|
10 |
-
- f1_score
|
11 |
-
- ef
|
12 |
-
- bedroc
|
13 |
-
- hit_rate
|
14 |
-
|
15 |
-
# Common virtual screening metrics:
|
16 |
-
# - ef
|
17 |
-
# - bedroc
|
18 |
-
# - hit_rate
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
configs/model/metrics/dti_metrics.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
# train/test with many metrics at once
|
2 |
-
|
3 |
-
defaults:
|
4 |
-
- auroc
|
5 |
-
- auprc
|
6 |
-
- specificity
|
7 |
-
- sensitivity
|
8 |
-
- precision
|
9 |
-
- recall
|
10 |
-
- f1_score
|
11 |
-
|
12 |
-
# Common virtual screening metrics:
|
13 |
-
# - ef
|
14 |
-
# - bedroc
|
15 |
-
# - hit_rate
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
configs/model/metrics/ef.yaml
DELETED
@@ -1,23 +0,0 @@
|
|
1 |
-
EF1:
|
2 |
-
_target_: deepscreen.models.metrics.ef.EnrichmentFactor
|
3 |
-
alpha: 0.01
|
4 |
-
|
5 |
-
EF2:
|
6 |
-
_target_: deepscreen.models.metrics.ef.EnrichmentFactor
|
7 |
-
alpha: 0.02
|
8 |
-
|
9 |
-
EF5:
|
10 |
-
_target_: deepscreen.models.metrics.ef.EnrichmentFactor
|
11 |
-
alpha: 0.05
|
12 |
-
|
13 |
-
EF10:
|
14 |
-
_target_: deepscreen.models.metrics.ef.EnrichmentFactor
|
15 |
-
alpha: 0.10
|
16 |
-
|
17 |
-
EF15:
|
18 |
-
_target_: deepscreen.models.metrics.ef.EnrichmentFactor
|
19 |
-
alpha: 0.15
|
20 |
-
|
21 |
-
EF20:
|
22 |
-
_target_: deepscreen.models.metrics.ef.EnrichmentFactor
|
23 |
-
alpha: 0.20
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
configs/model/metrics/f1_score.yaml
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
F1:
|
2 |
-
_target_: torchmetrics.F1Score
|
3 |
-
task: ${task.task}
|
4 |
-
num_classes: ${task.num_classes}
|
|
|
|
|
|
|
|
|
|
configs/model/metrics/hit_rate.yaml
DELETED
@@ -1,24 +0,0 @@
|
|
1 |
-
HR0_01:
|
2 |
-
_target_: deepscreen.models.metrics.hit_rate.HitRate
|
3 |
-
alpha: 0.01
|
4 |
-
|
5 |
-
HR0_02:
|
6 |
-
_target_: deepscreen.models.metrics.hit_rate.HitRate
|
7 |
-
alpha: 0.02
|
8 |
-
|
9 |
-
HR0_05:
|
10 |
-
_target_: deepscreen.models.metrics.hit_rate.HitRate
|
11 |
-
alpha: 0.05
|
12 |
-
|
13 |
-
HR0_10:
|
14 |
-
_target_: deepscreen.models.metrics.hit_rate.HitRate
|
15 |
-
alpha: 0.10
|
16 |
-
|
17 |
-
HR0_15:
|
18 |
-
_target_: deepscreen.models.metrics.hit_rate.HitRate
|
19 |
-
alpha: 0.15
|
20 |
-
|
21 |
-
HR0_20:
|
22 |
-
_target_: deepscreen.models.metrics.hit_rate.HitRate
|
23 |
-
alpha: 0.20
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
configs/model/metrics/ir_hit_rate.yaml
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
RetrievalHitRate:
|
2 |
-
_target_: torchmetrics.retrieval.RetrievalHitRate
|
3 |
-
top_k: 100
|
|
|
|
|
|
|
|
configs/model/metrics/mean_squared_error.yaml
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
mean_squared_error:
|
2 |
-
_target_: torchmetrics.MeanSquaredError
|
|
|
|
|
|
configs/model/metrics/mse.yaml
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
Mean squared error:
|
2 |
-
_target_: torchmetrics.MeanSquaredError
|
|
|
|
|
|
configs/model/metrics/pearson.yaml
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
Pearson:
|
2 |
-
_target_: torchmetrics.PearsonCorrCoef
|
|
|
|
|
|
configs/model/metrics/prc.yaml
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
PR curve:
|
2 |
-
_target_: torchmetrics.PrecisionRecallCurve
|
3 |
-
task: ${task.task}
|
4 |
-
num_classes: ${task.num_classes}
|
|
|
|
|
|
|
|
|
|
configs/model/metrics/precision.yaml
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
Precision:
|
2 |
-
_target_: torchmetrics.Precision
|
3 |
-
task: ${task.task}
|
4 |
-
num_classes: ${task.num_classes}
|
|
|
|
|
|
|
|
|
|
configs/model/metrics/recall.yaml
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
Recall:
|
2 |
-
_target_: torchmetrics.Recall
|
3 |
-
task: ${task.task}
|
4 |
-
num_classes: ${task.num_classes}
|
|
|
|
|
|
|
|
|
|
configs/model/metrics/roc.yaml
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
ROC curve:
|
2 |
-
_target_: torchmetrics.ROC
|
3 |
-
task: ${task.task}
|
4 |
-
num_classes: ${task.num_classes}
|
|
|
|
|
|
|
|
|
|
configs/model/metrics/sensitivity.yaml
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
Sensitivity:
|
2 |
-
_target_: deepscreen.models.metrics.sensitivity.Sensitivity
|
3 |
-
task: ${task.task}
|
4 |
-
num_classes: ${task.num_classes}
|
|
|
|
|
|
|
|
|
|
configs/model/metrics/specificity.yaml
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
Specificity:
|
2 |
-
_target_: torchmetrics.Specificity
|
3 |
-
task: ${task.task}
|
4 |
-
num_classes: ${task.num_classes}
|
|
|
|
|
|
|
|
|
|
configs/model/metrics/test_metrics.yaml
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
# train with many loggers at once
|
2 |
-
|
3 |
-
defaults:
|
4 |
-
- auroc
|
5 |
-
- auprc
|
6 |
-
- roc
|
7 |
-
- prc
|
8 |
-
# Common virtual screening metrics:
|
9 |
-
# - ef
|
10 |
-
# - bedroc
|
11 |
-
# - hit_rate
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
configs/model/metrics/ww_dti_metrics.yaml
DELETED
@@ -1,193 +0,0 @@
|
|
1 |
-
defaults:
|
2 |
-
- auroc
|
3 |
-
- auprc
|
4 |
-
|
5 |
-
Accuracy0_5:
|
6 |
-
_target_: torchmetrics.Accuracy
|
7 |
-
task: ${task.task}
|
8 |
-
num_classes: ${task.num_classes}
|
9 |
-
threshold: 0.5
|
10 |
-
|
11 |
-
Accuracy0_8:
|
12 |
-
_target_: torchmetrics.Accuracy
|
13 |
-
task: ${task.task}
|
14 |
-
num_classes: ${task.num_classes}
|
15 |
-
threshold: 0.8
|
16 |
-
|
17 |
-
Accuracy0_85:
|
18 |
-
_target_: torchmetrics.Accuracy
|
19 |
-
task: ${task.task}
|
20 |
-
num_classes: ${task.num_classes}
|
21 |
-
threshold: 0.85
|
22 |
-
|
23 |
-
Accuracy0_9:
|
24 |
-
_target_: torchmetrics.Accuracy
|
25 |
-
task: ${task.task}
|
26 |
-
num_classes: ${task.num_classes}
|
27 |
-
threshold: 0.9
|
28 |
-
|
29 |
-
Accuracy0_95:
|
30 |
-
_target_: torchmetrics.Accuracy
|
31 |
-
task: ${task.task}
|
32 |
-
num_classes: ${task.num_classes}
|
33 |
-
threshold: 0.95
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
Sensitivity0_5:
|
38 |
-
_target_: deepscreen.models.metrics.sensitivity.Sensitivity
|
39 |
-
task: ${task.task}
|
40 |
-
num_classes: ${task.num_classes}
|
41 |
-
threshold: 0.5
|
42 |
-
|
43 |
-
Sensitivity0_8:
|
44 |
-
_target_: deepscreen.models.metrics.sensitivity.Sensitivity
|
45 |
-
task: ${task.task}
|
46 |
-
num_classes: ${task.num_classes}
|
47 |
-
threshold: 0.8
|
48 |
-
|
49 |
-
Sensitivity0_85:
|
50 |
-
_target_: deepscreen.models.metrics.sensitivity.Sensitivity
|
51 |
-
task: ${task.task}
|
52 |
-
num_classes: ${task.num_classes}
|
53 |
-
threshold: 0.85
|
54 |
-
|
55 |
-
Sensitivity0_9:
|
56 |
-
_target_: deepscreen.models.metrics.sensitivity.Sensitivity
|
57 |
-
task: ${task.task}
|
58 |
-
num_classes: ${task.num_classes}
|
59 |
-
threshold: 0.9
|
60 |
-
|
61 |
-
Sensitivity0_95:
|
62 |
-
_target_: deepscreen.models.metrics.sensitivity.Sensitivity
|
63 |
-
task: ${task.task}
|
64 |
-
num_classes: ${task.num_classes}
|
65 |
-
threshold: 0.95
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
Specificity0_5:
|
70 |
-
_target_: torchmetrics.Specificity
|
71 |
-
task: ${task.task}
|
72 |
-
num_classes: ${task.num_classes}
|
73 |
-
threshold: 0.5
|
74 |
-
|
75 |
-
Specificity0_8:
|
76 |
-
_target_: torchmetrics.Specificity
|
77 |
-
task: ${task.task}
|
78 |
-
num_classes: ${task.num_classes}
|
79 |
-
threshold: 0.8
|
80 |
-
|
81 |
-
Specificity0_85:
|
82 |
-
_target_: torchmetrics.Specificity
|
83 |
-
task: ${task.task}
|
84 |
-
num_classes: ${task.num_classes}
|
85 |
-
threshold: 0.85
|
86 |
-
|
87 |
-
Specificity0_9:
|
88 |
-
_target_: torchmetrics.Specificity
|
89 |
-
task: ${task.task}
|
90 |
-
num_classes: ${task.num_classes}
|
91 |
-
threshold: 0.9
|
92 |
-
|
93 |
-
Specificity0_95:
|
94 |
-
_target_: torchmetrics.Specificity
|
95 |
-
task: ${task.task}
|
96 |
-
num_classes: ${task.num_classes}
|
97 |
-
threshold: 0.95
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
Precision0_5:
|
102 |
-
_target_: torchmetrics.Precision
|
103 |
-
task: ${task.task}
|
104 |
-
num_classes: ${task.num_classes}
|
105 |
-
threshold: 0.5
|
106 |
-
|
107 |
-
Precision0_8:
|
108 |
-
_target_: torchmetrics.Precision
|
109 |
-
task: ${task.task}
|
110 |
-
num_classes: ${task.num_classes}
|
111 |
-
threshold: 0.8
|
112 |
-
|
113 |
-
Precision0_85:
|
114 |
-
_target_: torchmetrics.Precision
|
115 |
-
task: ${task.task}
|
116 |
-
num_classes: ${task.num_classes}
|
117 |
-
threshold: 0.85
|
118 |
-
|
119 |
-
Precision0_9:
|
120 |
-
_target_: torchmetrics.Precision
|
121 |
-
task: ${task.task}
|
122 |
-
num_classes: ${task.num_classes}
|
123 |
-
threshold: 0.9
|
124 |
-
|
125 |
-
Precision0_95:
|
126 |
-
_target_: torchmetrics.Precision
|
127 |
-
task: ${task.task}
|
128 |
-
num_classes: ${task.num_classes}
|
129 |
-
threshold: 0.95
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
Recall0_5:
|
134 |
-
_target_: torchmetrics.Recall
|
135 |
-
task: ${task.task}
|
136 |
-
num_classes: ${task.num_classes}
|
137 |
-
threshold: 0.5
|
138 |
-
|
139 |
-
Recall0_8:
|
140 |
-
_target_: torchmetrics.Recall
|
141 |
-
task: ${task.task}
|
142 |
-
num_classes: ${task.num_classes}
|
143 |
-
threshold: 0.8
|
144 |
-
|
145 |
-
Recall0_85:
|
146 |
-
_target_: torchmetrics.Recall
|
147 |
-
task: ${task.task}
|
148 |
-
num_classes: ${task.num_classes}
|
149 |
-
threshold: 0.85
|
150 |
-
|
151 |
-
Recall0_9:
|
152 |
-
_target_: torchmetrics.Recall
|
153 |
-
task: ${task.task}
|
154 |
-
num_classes: ${task.num_classes}
|
155 |
-
threshold: 0.9
|
156 |
-
|
157 |
-
Recall0_95:
|
158 |
-
_target_: torchmetrics.Recall
|
159 |
-
task: ${task.task}
|
160 |
-
num_classes: ${task.num_classes}
|
161 |
-
threshold: 0.95
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
F1Score0_5:
|
166 |
-
_target_: torchmetrics.F1Score
|
167 |
-
task: ${task.task}
|
168 |
-
num_classes: ${task.num_classes}
|
169 |
-
threshold: 0.5
|
170 |
-
|
171 |
-
F1Score0_8:
|
172 |
-
_target_: torchmetrics.F1Score
|
173 |
-
task: ${task.task}
|
174 |
-
num_classes: ${task.num_classes}
|
175 |
-
threshold: 0.8
|
176 |
-
|
177 |
-
F1Score0_85:
|
178 |
-
_target_: torchmetrics.F1Score
|
179 |
-
task: ${task.task}
|
180 |
-
num_classes: ${task.num_classes}
|
181 |
-
threshold: 0.85
|
182 |
-
|
183 |
-
F1Score0_9:
|
184 |
-
_target_: torchmetrics.F1Score
|
185 |
-
task: ${task.task}
|
186 |
-
num_classes: ${task.num_classes}
|
187 |
-
threshold: 0.9
|
188 |
-
|
189 |
-
F1Score0_95:
|
190 |
-
_target_: torchmetrics.F1Score
|
191 |
-
task: ${task.task}
|
192 |
-
num_classes: ${task.num_classes}
|
193 |
-
threshold: 0.95
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|