You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
3.1 KiB
TeX
80 lines
3.1 KiB
TeX
4 years ago
|
\pgfplotsset{
|
||
|
compat=1.11,
|
||
|
legend image code/.code={
|
||
|
\draw[mark repeat=2,mark phase=2]
|
||
|
plot coordinates {
|
||
|
(0cm,0cm)
|
||
|
(0.3cm,0cm) %% default is (0.3cm,0cm)
|
||
|
(0.6cm,0cm) %% default is (0.6cm,0cm)
|
||
|
};%
|
||
|
}
|
||
|
}
|
||
|
\begin{figure}
|
||
|
\begin{subfigure}[h]{\textwidth}
|
||
|
\begin{tikzpicture}
|
||
|
\begin{axis}[legend cell align={left},yticklabel style={/pgf/number format/fixed,
|
||
|
/pgf/number format/precision=3},tick style = {draw = none}, width = \textwidth,
|
||
|
height = 0.6\textwidth, ymin = 0.988, legend style={at={(0.9825,0.0175)},anchor=south east},
|
||
|
xlabel = {epoch}, ylabel = {Classification Accuracy}, cycle list/Dark2]
|
||
|
\addplot table
|
||
|
[x=epoch, y=val_accuracy, col sep=comma, mark = none]
|
||
|
{Plots/Data/adam_datagen_full_mean.log};
|
||
|
\addplot table
|
||
|
[x=epoch, y=val_accuracy, col sep=comma, mark = none]
|
||
|
{Plots/Data/adam_datagen_dropout_02_full_mean.log};
|
||
|
\addplot table
|
||
|
[x=epoch, y=val_accuracy, col sep=comma, mark = none]
|
||
|
{Plots/Data/adam_datagen_dropout_04_full_mean.log};
|
||
|
\addplot table
|
||
|
[x=epoch, y=val_accuracy, col sep=comma, mark = none]
|
||
|
{Plots/Data/adam_dropout_02_full_mean.log};
|
||
|
\addplot table
|
||
|
[x=epoch, y=val_accuracy, col sep=comma, mark = none]
|
||
|
{Plots/Data/adam_dropout_04_full_mean.log};
|
||
|
\addplot [dashed] table
|
||
|
[x=epoch, y=val_accuracy, col sep=comma, mark = none]
|
||
|
{Plots/Data/adam_full_mean.log};
|
||
|
|
||
|
\addlegendentry{\footnotesize{G.}}
|
||
|
\addlegendentry{\footnotesize{G. + D. 0.2}}
|
||
|
\addlegendentry{\footnotesize{G. + D. 0.4}}
|
||
|
\addlegendentry{\footnotesize{D. 0.2}}
|
||
|
\addlegendentry{\footnotesize{D. 0.4}}
|
||
|
\addlegendentry{\footnotesize{Default}}
|
||
|
\end{axis}
|
||
|
\end{tikzpicture}
|
||
|
\caption{Classification accuracy}
|
||
|
\vspace{.25cm}
|
||
|
\end{subfigure}
|
||
|
\begin{subfigure}[h]{1.0\linewidth}
|
||
|
\begin{tabu} to \textwidth {@{} l *6{X[c]} @{}}
|
||
|
\multicolumn{7}{c}{Classification Accuracy}\Bstrut
|
||
|
\\\hline
|
||
|
&\textsc{Adam}&D. 0.2&D. 0.4&G.&G.+D.~0.2&G.+D.~0.4 \Tstrut \Bstrut
|
||
|
\\\hline
|
||
|
mean&0.9914&0.9918&0.9928&0.9937&0.9938&0.9940 \Tstrut \\
|
||
|
max& \\
|
||
|
min& \\
|
||
|
\multicolumn{7}{c}{Training Accuracy}\Bstrut
|
||
|
\\\hline
|
||
|
mean&0.9994&0.9990&0.9989&0.9967&0.9954&0.9926 \Tstrut \\
|
||
|
max& \\
|
||
|
min& \\
|
||
|
|
||
|
\end{tabu}
|
||
|
\caption{Mean and maximum accuracy after 48 epochs of training.}
|
||
|
\end{subfigure}
|
||
|
\caption{Accuracy for the net given in ... with Dropout (D.),
|
||
|
data generation (G.), a combination, or neither (Default) implemented and trained
|
||
|
with \textsc{Adam}. For each epoch the 60.000 training samples
|
||
|
were used, or for data generation 10.000 steps with each using
|
||
|
batches of 60 generated data points. For each configuration the
|
||
|
model was trained 5 times and the average accuracies at each epoch
|
||
|
are given in (a). Mean, maximum and minimum values of accuracy on
|
||
|
the test and training set are given in (b).}
|
||
|
\end{figure}
|
||
|
%%% Local Variables:
|
||
|
%%% mode: latex
|
||
|
%%% TeX-master: "../main"
|
||
|
%%% End:
|