Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \end{tikzpicture}
- \caption{Projezierter Gradientenabstieg für adversariale Angriffe nach \cite{biggio13}}
- \end{figure}
- \begin{figure}
- \begin{tikzpicture}[align=center,
- start chain=1 going right,
- node distance=5mm,
- ]
- \tikzstyle{startstop} = [rectangle, rounded corners, minimum width=3cm, minimum height=1cm,text centered, draw=black, fill=red!30]
- \tikzstyle{io} = [trapezium, trapezium left angle=70, trapezium right angle=110, minimum width=1.5cm, minimum height=0.5cm, text centered, draw=black, fill=blue!30]
- \tikzstyle{process} = [rectangle, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=orange!30]
- \tikzstyle{decision} = [diamond, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=green!30]
- \tikzstyle{arrow} = [thick,->,>=stealth]
- \matrix [matrix of nodes,column sep=1em,row sep=5em]
- {
- & & |(q) [startstop]| $START$ & & \\
- |(a) [io]| $x_i\,\,adversarial?$ & |(b) [io]| $c_{og}$ & |(c) [io]| $c_{ug}$ & |(d) [io]| $c$ & |(e) [io]| $c_{doppelt}$ \\
- & & |(f) [decision]| $x_i\,\,adversarial?$ & & \\
- & |(h) [process]| $c:=(c+c_{ug})/2$ & & |(w) [process]| $c_{ug}:=c$ & \\
- & |(i) [process]| $c_{doppelt}:=False$ & & |(x) [process]| $c:=c+(c-c_{ug})/2$ & \\
- & & |(k) [io]| $return\,\, c<=c_{og}$ & & \\
- & & |(u) [startstop]| $STOP$ & & \\
- };
- \draw [->] (f) -- (h)node[right, midway]{TRUE};
- \draw [->] (f) -- (w)node[left, midway]{FALSE};
- { [start chain=tr,every on chain/.style={join=by ->,thick}]
- \chainin (h);
- \chainin (i);
- \chainin (k);
- }
- { [start chain=fa,every on chain/.style={join=by ->,thick}]
- \chainin (w);
- \chainin (x);
- \chainin (k);
- \chainin (u);
- }
- \foreach \n in {a,b,c,d,e} {
- \begin{scope} [start chain={\n}-t,every on chain/.style={join=by ->,thick}]
- \chainin (q);
- \chainin ({\n});
- \end{scope}
- }
- \foreach \n in {a,b,c,d,e} {
- \begin{scope} [start chain={\n}-t,every on chain/.style={join=by ->,thick}]
- \chainin ({\n});
- \chainin (f);
- \end{scope}
- }
- \end{tikzpicture}
- \caption{Modifizierte Binäre Suche für den Faktor des Zusatzterms nach \cite{carlini17b}}
- \end{figure}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement