LeTienDat commited on
Commit
4f4508e
·
verified ·
1 Parent(s): c8540a0

Upload 2 files

Browse files
Files changed (2) hide show
  1. comparison_results.json +272 -0
  2. tuned_hyperparams.json +162 -0
comparison_results.json ADDED
@@ -0,0 +1,272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "Feature Model":"VGG16",
4
+ "Classifier":"LogisticRegression",
5
+ "Accuracy":0.8516,
6
+ "Inference Time":0.0067534447,
7
+ "Best Params":{
8
+ "C":0.001
9
+ },
10
+ "PCA":true
11
+ },
12
+ {
13
+ "Feature Model":"VGG16",
14
+ "Classifier":"LinearSVM",
15
+ "Accuracy":0.8498,
16
+ "Inference Time":0.0127418041,
17
+ "Best Params":{
18
+ "C":0.1
19
+ },
20
+ "PCA":true
21
+ },
22
+ {
23
+ "Feature Model":"VGG16",
24
+ "Classifier":"RandomForest",
25
+ "Accuracy":0.7794,
26
+ "Inference Time":0.6815769672,
27
+ "Best Params":{
28
+ "n_estimators":200,
29
+ "max_depth":20
30
+ },
31
+ "PCA":true
32
+ },
33
+ {
34
+ "Feature Model":"VGG16",
35
+ "Classifier":"k-NN",
36
+ "Accuracy":0.8043,
37
+ "Inference Time":10.3034477234,
38
+ "Best Params":{
39
+ "n_neighbors":7
40
+ },
41
+ "PCA":true
42
+ },
43
+ {
44
+ "Feature Model":"VGG16",
45
+ "Classifier":"ShallowMLP",
46
+ "Accuracy":0.8817,
47
+ "Inference Time":0.1281702518,
48
+ "Best Params":{
49
+ "hidden_layer_sizes":[
50
+ 1024
51
+ ],
52
+ "alpha":0.001
53
+ },
54
+ "PCA":true
55
+ },
56
+ {
57
+ "Feature Model":"ResNet50",
58
+ "Classifier":"LogisticRegression",
59
+ "Accuracy":0.8893,
60
+ "Inference Time":0.0067608356,
61
+ "Best Params":{
62
+ "C":0.001
63
+ },
64
+ "PCA":true
65
+ },
66
+ {
67
+ "Feature Model":"ResNet50",
68
+ "Classifier":"LinearSVM",
69
+ "Accuracy":0.8854,
70
+ "Inference Time":0.1353316307,
71
+ "Best Params":{
72
+ "C":0.1
73
+ },
74
+ "PCA":false
75
+ },
76
+ {
77
+ "Feature Model":"ResNet50",
78
+ "Classifier":"RandomForest",
79
+ "Accuracy":0.8571,
80
+ "Inference Time":1.0670878887,
81
+ "Best Params":{
82
+ "n_estimators":200,
83
+ "max_depth":20
84
+ },
85
+ "PCA":false
86
+ },
87
+ {
88
+ "Feature Model":"ResNet50",
89
+ "Classifier":"k-NN",
90
+ "Accuracy":0.868,
91
+ "Inference Time":9.6203262806,
92
+ "Best Params":{
93
+ "n_neighbors":7
94
+ },
95
+ "PCA":true
96
+ },
97
+ {
98
+ "Feature Model":"ResNet50",
99
+ "Classifier":"ShallowMLP",
100
+ "Accuracy":0.8997,
101
+ "Inference Time":0.3128712177,
102
+ "Best Params":{
103
+ "hidden_layer_sizes":[
104
+ 512
105
+ ],
106
+ "alpha":0.001
107
+ },
108
+ "PCA":false
109
+ },
110
+ {
111
+ "Feature Model":"EfficientNet-B0",
112
+ "Classifier":"LogisticRegression",
113
+ "Accuracy":0.9048,
114
+ "Inference Time":0.0055449009,
115
+ "Best Params":{
116
+ "C":0.01
117
+ },
118
+ "PCA":true
119
+ },
120
+ {
121
+ "Feature Model":"EfficientNet-B0",
122
+ "Classifier":"LinearSVM",
123
+ "Accuracy":0.9048,
124
+ "Inference Time":0.0106825829,
125
+ "Best Params":{
126
+ "C":0.1
127
+ },
128
+ "PCA":true
129
+ },
130
+ {
131
+ "Feature Model":"EfficientNet-B0",
132
+ "Classifier":"RandomForest",
133
+ "Accuracy":0.8747,
134
+ "Inference Time":0.5598859787,
135
+ "Best Params":{
136
+ "n_estimators":200,
137
+ "max_depth":20
138
+ },
139
+ "PCA":true
140
+ },
141
+ {
142
+ "Feature Model":"EfficientNet-B0",
143
+ "Classifier":"k-NN",
144
+ "Accuracy":0.8938,
145
+ "Inference Time":9.6803927422,
146
+ "Best Params":{
147
+ "n_neighbors":7
148
+ },
149
+ "PCA":true
150
+ },
151
+ {
152
+ "Feature Model":"EfficientNet-B0",
153
+ "Classifier":"ShallowMLP",
154
+ "Accuracy":0.9217,
155
+ "Inference Time":0.2081301212,
156
+ "Best Params":{
157
+ "hidden_layer_sizes":[
158
+ 512
159
+ ],
160
+ "alpha":0.001
161
+ },
162
+ "PCA":false
163
+ },
164
+ {
165
+ "Feature Model":"ViT",
166
+ "Classifier":"LogisticRegression",
167
+ "Accuracy":0.9491,
168
+ "Inference Time":0.0176355839,
169
+ "Best Params":{
170
+ "C":0.01
171
+ },
172
+ "PCA":false
173
+ },
174
+ {
175
+ "Feature Model":"ViT",
176
+ "Classifier":"LinearSVM",
177
+ "Accuracy":0.9432,
178
+ "Inference Time":0.0328383446,
179
+ "Best Params":{
180
+ "C":0.1
181
+ },
182
+ "PCA":false
183
+ },
184
+ {
185
+ "Feature Model":"ViT",
186
+ "Classifier":"RandomForest",
187
+ "Accuracy":0.9209,
188
+ "Inference Time":0.7339730263,
189
+ "Best Params":{
190
+ "n_estimators":200,
191
+ "max_depth":50
192
+ },
193
+ "PCA":false
194
+ },
195
+ {
196
+ "Feature Model":"ViT",
197
+ "Classifier":"k-NN",
198
+ "Accuracy":0.9221,
199
+ "Inference Time":9.2951395512,
200
+ "Best Params":{
201
+ "n_neighbors":7
202
+ },
203
+ "PCA":true
204
+ },
205
+ {
206
+ "Feature Model":"ViT",
207
+ "Classifier":"ShallowMLP",
208
+ "Accuracy":0.9515,
209
+ "Inference Time":0.254976511,
210
+ "Best Params":{
211
+ "hidden_layer_sizes":[
212
+ 1024
213
+ ],
214
+ "alpha":0.001
215
+ },
216
+ "PCA":false
217
+ },
218
+ {
219
+ "Feature Model":"SwinTransformer",
220
+ "Classifier":"LogisticRegression",
221
+ "Accuracy":0.9727,
222
+ "Inference Time":0.1007070541,
223
+ "Best Params":{
224
+ "C":0.01
225
+ },
226
+ "PCA":false
227
+ },
228
+ {
229
+ "Feature Model":"SwinTransformer",
230
+ "Classifier":"LinearSVM",
231
+ "Accuracy":0.9649,
232
+ "Inference Time":0.3451607227,
233
+ "Best Params":{
234
+ "C":0.1
235
+ },
236
+ "PCA":false
237
+ },
238
+ {
239
+ "Feature Model":"SwinTransformer",
240
+ "Classifier":"RandomForest",
241
+ "Accuracy":0.9595,
242
+ "Inference Time":0.515237093,
243
+ "Best Params":{
244
+ "n_estimators":200,
245
+ "max_depth":20
246
+ },
247
+ "PCA":true
248
+ },
249
+ {
250
+ "Feature Model":"SwinTransformer",
251
+ "Classifier":"k-NN",
252
+ "Accuracy":0.9673,
253
+ "Inference Time":9.8216071129,
254
+ "Best Params":{
255
+ "n_neighbors":5
256
+ },
257
+ "PCA":true
258
+ },
259
+ {
260
+ "Feature Model":"SwinTransformer",
261
+ "Classifier":"ShallowMLP",
262
+ "Accuracy":0.9734,
263
+ "Inference Time":0.1931972504,
264
+ "Best Params":{
265
+ "hidden_layer_sizes":[
266
+ 1024
267
+ ],
268
+ "alpha":0.0001
269
+ },
270
+ "PCA":true
271
+ }
272
+ ]
tuned_hyperparams.json ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ResNet50|LogisticRegression": {
3
+ "params": {
4
+ "C": 0.001
5
+ },
6
+ "pca": true
7
+ },
8
+ "ResNet50|LinearSVM": {
9
+ "params": {
10
+ "C": 0.1
11
+ },
12
+ "pca": false
13
+ },
14
+ "ResNet50|RandomForest": {
15
+ "params": {
16
+ "n_estimators": 200,
17
+ "max_depth": 50
18
+ },
19
+ "pca": true
20
+ },
21
+ "ResNet50|k-NN": {
22
+ "params": {
23
+ "n_neighbors": 7
24
+ },
25
+ "pca": true
26
+ },
27
+ "ResNet50|ShallowMLP": {
28
+ "params": {
29
+ "hidden_layer_sizes": [512],
30
+ "alpha": 0.001
31
+ },
32
+ "pca": false
33
+ },
34
+ "VGG16|LogisticRegression": {
35
+ "params": {
36
+ "C": 0.001
37
+ },
38
+ "pca": true
39
+ },
40
+ "VGG16|LinearSVM": {
41
+ "params": {
42
+ "C": 0.1
43
+ },
44
+ "pca": true
45
+ },
46
+ "VGG16|RandomForest": {
47
+ "params": {
48
+ "n_estimators": 200,
49
+ "max_depth": 20
50
+ },
51
+ "pca": true
52
+ },
53
+ "VGG16|k-NN": {
54
+ "params": {
55
+ "n_neighbors": 7
56
+ },
57
+ "pca": true
58
+ },
59
+ "VGG16|ShallowMLP": {
60
+ "params": {
61
+ "hidden_layer_sizes": [1024],
62
+ "alpha": 0.001
63
+ },
64
+ "pca": true
65
+ },
66
+ "EfficientNet-B0|LogisticRegression": {
67
+ "params": {
68
+ "C": 0.01
69
+ },
70
+ "pca": true
71
+ },
72
+ "EfficientNet-B0|LinearSVM": {
73
+ "params": {
74
+ "C": 0.1
75
+ },
76
+ "pca": true
77
+ },
78
+ "EfficientNet-B0|RandomForest": {
79
+ "params": {
80
+ "n_estimators": 200,
81
+ "max_depth": 20
82
+ },
83
+ "pca": true
84
+ },
85
+ "EfficientNet-B0|k-NN": {
86
+ "params": {
87
+ "n_neighbors": 7
88
+ },
89
+ "pca": true
90
+ },
91
+ "EfficientNet-B0|ShallowMLP": {
92
+ "params": {
93
+ "hidden_layer_sizes": [512],
94
+ "alpha": 0.001
95
+ },
96
+ "pca": false
97
+ },
98
+ "ViT|LogisticRegression": {
99
+ "params": {
100
+ "C": 0.01
101
+ },
102
+ "pca": false
103
+ },
104
+ "ViT|LinearSVM": {
105
+ "params": {
106
+ "C": 0.1
107
+ },
108
+ "pca": false
109
+ },
110
+ "ViT|RandomForest": {
111
+ "params": {
112
+ "n_estimators": 200,
113
+ "max_depth": 50
114
+ },
115
+ "pca": false
116
+ },
117
+ "ViT|k-NN": {
118
+ "params": {
119
+ "n_neighbors": 7
120
+ },
121
+ "pca": true
122
+ },
123
+ "ViT|ShallowMLP": {
124
+ "params": {
125
+ "hidden_layer_sizes": [1024],
126
+ "alpha": 0.001
127
+ },
128
+ "pca": false
129
+ },
130
+ "SwinTransformer|LogisticRegression": {
131
+ "params": {
132
+ "C": 0.01
133
+ },
134
+ "pca": false
135
+ },
136
+ "SwinTransformer|LinearSVM": {
137
+ "params": {
138
+ "C": 0.1
139
+ },
140
+ "pca": false
141
+ },
142
+ "SwinTransformer|RandomForest": {
143
+ "params": {
144
+ "n_estimators": 200,
145
+ "max_depth": 20
146
+ },
147
+ "pca": true
148
+ },
149
+ "SwinTransformer|k-NN": {
150
+ "params": {
151
+ "n_neighbors": 5
152
+ },
153
+ "pca": true
154
+ },
155
+ "SwinTransformer|ShallowMLP": {
156
+ "params": {
157
+ "hidden_layer_sizes": [1024],
158
+ "alpha": 0.0001
159
+ },
160
+ "pca": true
161
+ }
162
+ }