Skip to content

Commit d679041

Browse files
committed
doc: update experiments on ResNet@CIFAR-100
1 parent 4affde9 commit d679041

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

docs/_images/resnet_cifar100.png

96.8 KB
Loading

docs/experiments.xlsx

7 Bytes
Binary file not shown.

docs/plotting/resnet_cifar100.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import matplotlib.pyplot as plt
2+
3+
plt.style.use("seaborn")
4+
5+
n_estimators = [2, 5, 7, 10]
6+
fusion = [77.14, 76.81, 76.52, 76.06]
7+
voting = [78.04, 79.39, 79.63, 79.78]
8+
bagging = [77.21, 78.94, 79.09, 79.47]
9+
snapshot_ensemble = [77.30, 77.39, 77.91, 77.58]
10+
11+
plt.plot(n_estimators, fusion, label="fusion", linewidth=5)
12+
plt.plot(n_estimators, voting, label="voting", linewidth=5)
13+
plt.plot(n_estimators, bagging, label="bagging", linewidth=5)
14+
plt.plot(n_estimators, snapshot_ensemble, label="snapshot ensemble", linewidth=5)
15+
16+
plt.title("ResNet@CIFAR-100", fontdict={"size": 30})
17+
plt.xlabel("n_estimators", fontdict={"size": 30})
18+
plt.ylabel("testing acc", fontdict={"size": 30})
19+
plt.xticks(n_estimators, fontsize=25)
20+
plt.yticks(fontsize=25)
21+
plt.legend(prop={"size": 30})

0 commit comments

Comments
 (0)