...
 
Commits (6)
# common settings
set terminal postscript enhanced color font "Helvetica, 30" eps
set size 3,2
set palette rgb 33,13,10
set datafile separator ','
set grid ytics
set key autotitle columnhead
unset colorbox
set key tmargin horizontal
set key above vertical maxrows 3
# method colors
apx_color = 0.85
asm_color = 0.35
# dataset point types
mnist_point = 7
cifar10_point = 9
cifar100_point = 5
block_point = 2
# spatial lines
set style line 1 linewidth 8 dashtype 2 linetype rgb "black"
spatial = 1
# mnist lines
set style line 2 linewidth 8 pointsize 4 pointtype mnist_point palette frac asm_color
set style line 3 linewidth 8 pointsize 4 pointtype mnist_point palette frac apx_color
asm_mnist = 2
apx_mnist = 3
# cifar10 lines
set style line 4 linewidth 8 pointsize 5 pointtype cifar10_point palette frac asm_color
set style line 5 linewidth 8 pointsize 5 pointtype cifar10_point palette frac apx_color
asm_cifar10 = 4
apx_cifar10 = 5
# cifar100 lines
set style line 6 linewidth 8 pointsize 4 pointtype cifar100_point palette frac asm_color
set style line 7 linewidth 8 pointsize 4 pointtype cifar100_point palette frac apx_color
asm_cifar100 = 6
apx_cifar100 = 7
# block lines
set style line 8 linewidth 8 pointsize 4 pointtype block_point palette frac asm_color
set style line 9 linewidth 8 pointsize 4 pointtype block_point palette frac apx_color
asm_block = 8
apx_block = 9
\ No newline at end of file
Spatial, ASM, APX
0.38770400000000005, 0.028511004522442818, 0.021187998354434967
0.38770400000000005, 0.04224500060081482, 0.03251300007104874
0.38770400000000005, 0.0719589963555336, 0.05246701091527939
0.38770400000000005, 0.11431298404932022, 0.08289499580860138
0.38770400000000005, 0.17091600596904755, 0.12201204150915146
0.38770400000000005, 0.2358810305595398, 0.1821099817752838
0.38770400000000005, 0.2907869815826416, 0.24683500826358795
0.38770400000000005, 0.33355003595352173, 0.3126530945301056
0.38770400000000005, 0.35875195264816284, 0.34837204217910767
0.38770400000000005, 0.3743648827075958, 0.3700009882450104
0.38770400000000005, 0.3821179270744324, 0.3813890218734741
0.38770400000000005, 0.3855651021003723, 0.38590604066848755
0.38770400000000005, 0.3870389461517334, 0.3877289593219757
0.38770400000000005, 0.3876100182533264, 0.38784608244895935
0.38770400000000005, 0.38769200444221497, 0.38769200444221497
Spatial, ASM, APX
0.726379, 0.15846799314022064, 0.14217902719974518
0.726379, 0.17741000652313232, 0.157195046544075
0.726379, 0.22559601068496704, 0.18391501903533936
0.726379, 0.29005497694015503, 0.2235700488090515
0.726379, 0.3818310797214508, 0.2836250364780426
0.726379, 0.4848138391971588, 0.36814603209495544
0.726379, 0.5685141086578369, 0.49551400542259216
0.726379, 0.6309850811958313, 0.5889250040054321
0.726379, 0.6670951247215271, 0.6512901186943054
0.726379, 0.6929441094398499, 0.688965916633606
0.726379, 0.7095920443534851, 0.710439920425415
0.726379, 0.7190510034561157, 0.7214440107345581
0.726379, 0.7239710092544556, 0.7254037261009216
0.726379, 0.7259439826011658, 0.7267060279846191
0.726379, 0.7263758778572083, 0.7263748645782471
Spatial, ASM, APX
0.98842, 0.09840100258588791, 0.1033179983496666
0.98842, 0.16945400834083557, 0.1267389953136444
0.98842, 0.3698651194572449, 0.24187904596328735
0.98842, 0.6973899602890015, 0.44326409697532654
0.98842, 0.8957449197769165, 0.7450817823410034
0.98842, 0.9631999731063843, 0.923447847366333
0.98842, 0.9792640805244446, 0.9694758057594299
0.98842, 0.9849799871444702, 0.9839828610420227
0.98842, 0.9869071245193481, 0.9870960116386414
0.98842, 0.9878002405166626, 0.9882400035858154
0.98842, 0.9881409406661987, 0.9886267185211182
0.98842, 0.9883119463920593, 0.9887268543243408
0.98842, 0.9883678555488586, 0.988710880279541
0.98842, 0.9884229302406311, 0.9885340929031372
0.98842, 0.9884179830551147, 0.9884179830551147
#!/usr/bin/gnuplot -c
load "common.gp"
set ylabel 'Average Accuracy (%)'
set xlabel 'Number of Spatial Frequencies'
set xrange ['1':'15']
set xtics 1
set output "relu_accuracy.eps"
plot "data/MNIST_relu_accuracy.csv" using ($0+1):1 with lines linestyle spatial notitle, \
"data/CIFAR10_relu_accuracy.csv" using ($0+1):1 with lines linestyle spatial notitle, \
"data/CIFAR100_relu_accuracy.csv" using ($0+1):1 with lines linestyle spatial notitle, \
"data/MNIST_relu_accuracy.csv" using ($0+1):2 with linespoints linestyle asm_mnist title (columnhead(2)." MNIST"), \
"data/CIFAR10_relu_accuracy.csv" using ($0+1):2 with linespoints linestyle asm_cifar10 title (columnhead(2)." CIFAR10"), \
"data/CIFAR100_relu_accuracy.csv" using ($0+1):2 with linespoints linestyle asm_cifar100 title (columnhead(2)." CIFAR100"), \
"data/MNIST_relu_accuracy.csv" using ($0+1):3 with linespoints linestyle apx_mnist title (columnhead(3)." MNIST"), \
"data/CIFAR10_relu_accuracy.csv" using ($0+1):3 with linespoints linestyle apx_cifar10 title (columnhead(3)." CIFAR10"), \
"data/CIFAR100_relu_accuracy.csv" using ($0+1):3 with linespoints linestyle apx_cifar100 title (columnhead(3)." CIFAR100")
#!/usr/bin/gnuplot -c #!/usr/bin/gnuplot -c
if (ARG2 eq 'eps') { load "common.gp"
set terminal postscript enhanced color font "Helvetica, 30" eps
set size 3,2
} else {
set terminal ARG2
}
set datafile separator ','
set ylabel 'Average RMSE' set ylabel 'Average RMSE'
set grid ytics
set key tmargin horizontal
set xlabel 'Number of Spatial Frequencies' set xlabel 'Number of Spatial Frequencies'
set xrange ['1':'15'] set xrange ['1':'15']
set xtics 1 set xtics 1
set output "relu_blocks.eps" set output "relu_blocks.eps"
plot ARG1 using ($0+1):2 with linespoints linewidth 8 pointsize 5 title columnhead, \ plot "data/relu_blocks.csv" using ($0+1):2 with linespoints linestyle apx_block title columnhead, \
ARG1 using ($0+1):1 with linespoints linewidth 8 pointsize 5 title columnhead "data/relu_blocks.csv" using ($0+1):1 with linespoints linestyle asm_block title columnhead
if (ARG2 ne 'eps') pause -1 "Press any key to continue..."
\ No newline at end of file