JackieLin0123/SciTikZ-Bench huggingface dataset:
\documentclass[tikz]{standalone}
\usepackage{amsmath, amsfonts, amsthm, bm}
\usepackage{pgfplots}
\usepgfplotslibrary{statistics}
\usetikzlibrary{calc}

\begin{document}

\begin{tikzpicture}
    \begin{axis} [
        title=Relative volume vs ReLU approx. order $L$,
        height=4.0cm, width=8.0cm,
        xmin=0, xmax=6, 
        xtick={1,2,3,4,5},
        xticklabels={2, 3, 4, 5, 6},
        legend style={at={(0.5,-0.2)}, anchor=north, legend columns=-1},
        ymin=400, ymax=4000,
        boxplot/draw direction=y,
        /pgfplots/boxplot/box extend=0.3,
        boxplot/every box/.style={fill=blue!50},
    ]
    \addplot+ [
        color = black,
        boxplot prepared={
          lower quartile=1470.7,
           median = 1823.96,
          upper quartile=2030.10,
          lower whisker=790.2,
          upper whisker=2770.94,
        },
    ] coordinates {};
    \addplot+ [
        color = black,
        boxplot prepared={
          lower quartile=1239.97,
           median = 1524.99,
          upper quartile=1661.76,
          lower whisker=606.80,
          upper whisker=2353.04,
        },
    ] coordinates {};
    \addplot+ [
        color = black,
        boxplot prepared={
          lower quartile=1091.03,
           median = 1348.26,
          upper quartile=1476.51,
          lower whisker=528.67,
          upper whisker=2132.04,
        },
    ] coordinates {};
    \addplot+ [
        color = black,
        boxplot prepared={
          lower quartile=1005.86,
           median = 1248.37,
          upper quartile=1382.73,
          lower whisker=475.18,
          upper whisker=2002.61,
        },
    ] coordinates {};
    \addplot+ [
        color = black,
        boxplot prepared={
          lower quartile=952.83,
           median = 1173.46,
          upper quartile=1307.95,
          lower whisker=444.40,
          upper whisker=1903.01,
        },
    ] coordinates {};
    \end{axis}
\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usepackage[compat=1.1.0]{tikz-feynman}

\begin{document}
\begin{tikzpicture}
\begin{feynman}[every blob={/tikz/fill=gray!30,/tikz/inner sep=2pt}]
  \vertex (v0) at (-0.2,3) {\({a}\)};
  \vertex [blob] (v1) at (3,1.5) {\({\phantom{xxxxx,}}\)};
  \vertex (v2) at (-0.2,0.0)  {\({b}\)};
  \vertex (v3) at (5.5,1.5) {\({k_1}\)};
  \vertex [blob] (v4) at (1.33,2.25) {\({\mathbf{V}^{ai,b}}\)};
  \vertex (v5) at (5.5,3.3) {\({i}\)};
  \vertex (v6) at (5.5,0)  {\({k_n}\)};
  \vertex (v7) at (5.5,1.1) {\({.}\)};
  \vertex (v8) at (5.5,0.8) {\({.}\)};
  \vertex (v9) at (5.5,0.5) {\({.}\)};
\diagram* {
(v0) -- [plain, reversed momentum'={[arrow shorten=0.85,arrow distance=1.3mm]\(p_a\)}] (v4),
(v4) -- [plain, edge label'=\(\widetilde{ai}\)] (v1),
(v4) -- [plain,reversed momentum={[arrow shorten=0.65,arrow distance=1.3mm]\(p_i\)}] (v5),
(v2) -- [plain, reversed momentum={[arrow shorten=0.65,arrow distance=1.3mm]\(p_b\)}] (v1),
(v3) -- [plain, momentum={[arrow shorten=0.8,arrow distance=1.3mm]\(p_{k_1}\)}] (v1),
(v6) -- [plain, momentum'={[arrow shorten=0.8,arrow distance=1.3mm]\(p_{k_n}\)}] (v1)};
\end{feynman}
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usepackage{amssymb}
\usepackage{pgfplots}
\pgfplotsset{compat=1.7}

\begin{document}
\begin{tikzpicture}
    \begin{axis}[
        xlabel={$\lambda$ value},
        ylabel={Dice Score [\%]},
        xmin=0.0, xmax=1.0,
        ymin=0.88, ymax=1.0,
        xtick={0.0, 0.2, 0.4, 0.6, 0.8, 1.0},
        ytick={0.88, 0.90, 0.92, 0.94, 0.96, 0.98, 1.0},
        legend pos=north west,
        ymajorgrids=true,
        grid style=dashed,
    ]
    \addplot[color=blue, mark=square] coordinates {
        (0.0,0.90) (0.2,0.915) (0.4,0.910) (0.6,0.910) (0.8,0.91) (1.0,0.90)
    };
    \legend{CoordDR-UNet 2.5D}
    \end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta, positioning}

\begin{document}
\begin{tikzpicture}
\node (A) at (0,0) {$E_\mathcal{H}$};
\node (B) at (1.5,0) {$E_\mathcal{K}$};
\node (C) at (1.5,-1.5) {$E_\mathcal{P}$};
\node (D) at (0,-1.5) {$E_\mathcal{G}$};
\draw[->] (A) -- (B) node[pos=0.5, above] {$f_2$};
\draw[->] (D) -- (C) node[pos=0.5, below] {$p_2$};
\draw[->] (A) -- (D) node[pos=0.5, left] {$f_1$};
\draw[->] (B) -- (C) node[pos=0.5, right] {$p_1$};

\node (A2) at (3,0) {$V_\mathcal{H}$};
\node (B2) at (4.5,0) {$V_\mathcal{K}$};
\node (C2) at (4.5,-1.5) {$V_\mathcal{P}$};
\node (D2) at (3,-1.5) {$V_\mathcal{G}$};
\draw[->] (A2) -- (B2) node[pos=0.5, above] {$g_2$};
\draw[->] (D2) -- (C2) node[pos=0.5, below] {$q_2$};
\draw[->] (A2) -- (D2) node[pos=0.5, left] {$g_1$};
\draw[->] (B2) -- (C2) node[pos=0.5, right] {$q_1$};
\end{tikzpicture}
\end{document}
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning, calc}

\begin{document}
\begin{tikzpicture}
%
% (ij)(kl)
%
\coordinate (midL1) at (0,0);
\coordinate (midR1) at (1,0);
\node[draw, circle, minimum size=15pt, inner sep=2pt, above left=of midL1] (i1) {\small $1$};
\node[draw, circle, minimum size=15pt, inner sep=2pt, below left=of midL1] (j1) {\small $2$};
\node[draw, circle, minimum size=15pt, inner sep=2pt, above right=of midR1] (k1) {\small $3$};
\node[draw, circle, minimum size=15pt, inner sep=2pt, below right=of midR1] (l1) {\small $4$};
\draw[thick] (midL1) -- (midR1);
\draw[thick] (midL1) -- (i1);
\draw[thick] (midL1) -- (j1);
\draw[thick] (midR1) -- (k1);
\draw[thick] (midR1) -- (l1);

%
% (ik)(jl)
%
\coordinate (midL2) at (6,0);
\coordinate (midR2) at (7,0);
\node[draw, circle, minimum size=15pt, inner sep=2pt, above left=of midL2] (i2) {\small $1$};
\node[draw, circle, minimum size=15pt, inner sep=2pt, below left=of midL2] (k2) {\small $3$};
\node[draw, circle, minimum size=15pt, inner sep=2pt, above right=of midR2] (j2) {\small $2$};
\node[draw, circle, minimum size=15pt, inner sep=2pt, below right=of midR2] (l2) {\small $4$};
\draw[thick] (midL2) -- (midR2);
\draw[thick] (midL2) -- (i2);
\draw[thick] (midL2) -- (k2);
\draw[thick] (midR2) -- (j2);
\draw[thick] (midR2) -- (l2);

%
% (il)(jk)
%
\coordinate (midL3) at (12,0);
\coordinate (midR3) at (13,0);
\node[draw, circle, minimum size=15pt, inner sep=2pt, above left=of midL3] (i3) {\small $1$};
\node[draw, circle, minimum size=15pt, inner sep=2pt, below left=of midL3] (l3) {\small $4$};
\node[draw, circle, minimum size=15pt, inner sep=2pt, above right=of midR3] (j3) {\small $2$};
\node[draw, circle, minimum size=15pt, inner sep=2pt, below right=of midR3] (k3) {\small $3$};
\draw[thick] (midL3) -- (midR3);
\draw[thick] (midL3) -- (i3);
\draw[thick] (midL3) -- (l3);
\draw[thick] (midR3) -- (j3);
\draw[thick] (midR3) -- (k3);

%
% Annotations
%
\node[inner sep=0pt] at ($(midL1)!0.5!(midR1) + (0,-2)$) {Possibility 1: $\{(12)(34)\}$};
\node[inner sep=0pt] at ($(midL2)!0.5!(midR2) + (0,-2)$) {Possibility 2: $\{(13)(24)\}$};
\node[inner sep=0pt] at ($(midL3)!0.5!(midR3) + (0,-2)$) {Possibility 3: $\{(14)(23)\}$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=.5,xscale=1,ar/.style={-,thick}]
\draw(0,0)node(v1){$1$}(2,0)node(v2){$2$}(4,0)node(v3){$3$}
(6.5,0)node(v4){$\cdots$}(9.5,0)node(vn2){$n-2$}
(12.5,1.5)node(vn1){$n-1$}
(12.5,-1.5)node(vn){$n.$};
\draw[ar](v2)edge(v1)edge(v3);
\draw[ar](v4)edge(v3)edge(vn2);
\draw[ar](vn2)edge(vn1)edge(vn);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}
    \tikzstyle{vertex}=[circle,draw,minimum size=1.2em,inner sep=0.2];
    \node[vertex] (x1) at (0,1.3) {$x_1$};
    \node[vertex] (x2) at (1.3,1.3) {$x_2$};
    \node[vertex] (x3) at (1.3,0) {$x_3$};
    \draw (x1)--(x2)--(x3);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.17}

\begin{document}
\begin{tikzpicture}[scale=0.6]
\begin{axis}[
    xmin=0, xmax=10,
    ymin=0, ymax=10,
    nodes near coords,
    point meta=explicit symbolic
]
\addplot+[only marks] coordinates{(2,2)[] (4,8)[] (4,4)[] (7,3)[]};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=.2]
\draw[help lines] (0,0) grid (10,4);
\draw[thick] (0,0)--(2,2)--(3,1)--(6,4)--(10,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usetikzlibrary{arrows.meta, positioning, fit}

\begin{document}

\begin{tikzpicture}[
  node distance=1cm,
  box/.style={draw, minimum width=2cm, minimum height=1cm},
  arrow/.style={-Stealth, thick},
  label/.style={font=\scriptsize}
]

  % Nodes
  \node[box] (A) {$\mathcal{A}^{*}(\,.\,;W_T)$};
  \node[box, right=of A] (D) {$\mathcal{D}_{\tau_T}(\,.\,)$};
  \node[left=of A] (y) {$\mathbf{y}_{T-1}$};
  \node[above=of A] (b) {$\mathbf{b}$};
  \node[right=of D] (x) {$X_{Temp}$};

  % Arrows
  \draw[arrow] (y) -- (A);
  \draw[arrow] (A) -- (D);
  \draw[arrow] (D) -- (x);
  \draw (b) -- ++(3.5,0);

  % Dashed box
  \node[fit=(A)(D)(b), draw, dashed, inner sep=0.5cm] {};

\end{tikzpicture}

\end{document}
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}

\newcommand{\GG}{\mathcal{G}}
\newcommand{\HH}{\mathcal{H}}
\newcommand{\DD}{\mathcal{D}}

\begin{document}

\begin{tikzpicture}[scale=.7]
\begin{scope}[]
\node (d1) at (-3,3) {$\delta_1$};
\node (d2) at (-1,1) {$\delta_2$};
\node (d3) at (0,0) {$\delta_3$};
\node (d4) at (1,1) {$\delta_4$};
\node (d5) at (2,2) {$\delta_5$};
\node (d6) at (3,3) {$\delta_6$};
\node (d7) at (-1,-1) {$\delta_7$};

\node (n1) at (-4,4) {$n_1$};
\node (n2) at (-2,4) {$n_2$};
\node (n3) at (-2,2) {$n_3$};
\node (n4) at (-2,0) {$n_4$};
\node (n5) at (2,0) {$n_5$};
\node (n6) at (3,1) {$n_6$};
\node (n7) at (2,4) {$n_7$};
\node (n8) at (4,4) {$n_8$};
\node (n9) at (-2,-2) {$n_9$};
\node (n10) at (-1,-3) {$n_{10}$};
\node (n11) at (-3,-3) {$n_{11}$};
\node (n12) at (1, -1) {$n_{12}$};

\node at (0, -3.5) {$\GG$};

\foreach \from/\to in {n3/d1, d2/n3, d3/d2, n4/d2, d3/d4, d4/d5, d3/d7, d5/d6, d5/n6}{
  \draw[->] (\from) -- (\to);
}

\foreach \from/\to in {n1/d1, n2/d1, n5/d4, n7/d6, n8/d6, n9/d7, n10/n9, n11/n9}{
  \draw[->] (\from) -- (\to);
}

\draw (n12) -- (d3);
\end{scope}

\begin{scope}[shift={(10,0)}]
\node (d1) at (-3,3) {$\delta_1$};
\node (d2) at (-1,1) {$\delta_2$};
\node (d3) at (0,0) {$\delta_3$};
\node (d4) at (1,1) {$\delta_4$};
\node (d5) at (2,2) {$\delta_5$};
\node (d6) at (3,3) {$\delta_6$};
\node (d7) at (-1,-1) {$\delta_7$};

\node (n1) at (-4,4) {$n_1$};
\node (n2) at (-2,4) {$n_2$};
\node (n3) at (-2,2) {$n_3$};
\node (n4) at (-2,0) {$n_4$};
\node (n5) at (2,0) {$n_5$};
\node (n6) at (3,1) {$n_6$};
\node (n7) at (2,4) {$n_7$};
\node (n8) at (4,4) {$n_8$};
\node (n9) at (-2,-2) {$n_9$};
\node (n10) at (-1,-3) {$n_{10}$};
\node (n11) at (-3,-3) {$n_{11}$};
\node (n12) at (1, -1) {$n_{12}$};

\node at (0, -3.5) {$\HH$};

\foreach \from/\to in {n3/d1, d2/n3, d3/d2, n4/d2, d3/d4, d4/d5, d3/d7, d5/d6, d5/n6}{
  \draw[<-] (\from) -- (\to);
}

\foreach \from/\to in {n1/d1, n2/d1, n5/d4, n7/d6, n8/d6, n9/d7, n10/n9, n11/n9}{
  \draw[->] (\from) -- (\to);
}

\draw[<-] (n12) -- (d3);
\end{scope}

\begin{scope}[shift={(5, -9)}]
\node (d1) at (-3,3) {$\delta_1$};
\node (d2) at (-1,1) {$\delta_2$};
\node (d3) at (0,0) {$\delta_3$};
\node (d4) at (1,1) {$\delta_4$};
\node (d5) at (2,2) {$\delta_5$};
\node (d6) at (3,3) {$\delta_6$};
\node (d7) at (-1,-1) {$\delta_7$};

\node (n1) at (-4,4) {$n_1$};
\node (n2) at (-2,4) {$n_2$};
\node (n3) at (-2,2) {$n_3$};
\node (n4) at (-2,0) {$n_4$};
\node (n5) at (2,0) {$n_5$};
\node (n6) at (3,1) {$n_6$};
\node (n7) at (2,4) {$n_7$};
\node (n8) at (4,4) {$n_8$};
\node (n9) at (-2,-2) {$n_9$};
\node (n10) at (-1,-3) {$n_{10}$};
\node (n11) at (-3,-3) {$n_{11}$};
\node (n12) at (1, -1) {$n_{12}$};

\node at (0, -3.5) {$\DD$};

\foreach \from/\to in {n3/d1, d2/n3, d3/d2, n4/d2, d4/d3, d5/d4, d3/d7, d6/d5, d5/n6}{
  \draw[->] (\from) -- (\to);
}

\foreach \from/\to in {n1/d1, n2/d1, n5/d4, n7/d6, n8/d6, n9/d7, n10/n9, n11/n9}{
  \draw[->] (\from) -- (\to);
}

\draw[<-] (n12) -- (d3);
\end{scope}
\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}

\begin{document}

\begin{tikzpicture}[x=10mm, y=5mm, label distance=1mm, scale=0.8]
\foreach \x in {1,...,11} {
  \coordinate (\x) at (3*36-\x*36:3cm);
}

\node[above] at (11) {$9$};
\foreach \x/\y in {2/8,3/7,4/6} {
  \node[right] at (\x) {$\y$};
}
\foreach \x/\y in {5/5,6/4} {
  \node[below] at (\x) {$\y$};
}
\foreach \x/\y in {7/3,8/2,9/1} {
  \node[left] at (\x) {$\y$};
}
\node[above] at (10) {$0$};

\draw[red, dashed, ultra thick]
  (1) edge (2)
  (1) edge (3)
  (1) edge (8)
  (3) edge (4)
  (5) edge (6)
  (8) edge (9)
  (4) edge (5)
  (4) edge (7);

\draw[blue, ultra thick]
  (10) edge (8)
  (10) edge (9)
  (8) edge (7)
  (8) edge (4)
  (8) edge (3)
  (7) edge (6)
  (7) edge (5)
  (3) edge (2);

\begin{scope}[every node/.style={opacity=0.6}]
  \node[black!70, draw, circle, inner sep=1.5pt, fill=black!70, double] (v1) at (-6.5*36:2cm) {};
  \node[black!70, draw, circle, inner sep=1.5pt, fill=black!70] (v2) at (-6*36:2.6cm) {};
  \node[black!70, draw, circle, inner sep=1.5pt, fill=black!70] (v3) at (2.5*36:1cm) {};
  \node[black!70, draw, circle, inner sep=1.5pt, fill=black!70] (v4) at (1*36:2.6cm) {};
  \node[black!70, draw, circle, inner sep=1.5pt, fill=black!70] (v5) at (-0.5*36:2cm) {};
  \node[black!70, draw, circle, inner sep=1.5pt, fill=black!70] (v6) at (-4*36:2cm) {};
  \node[black!70, draw, circle, inner sep=1.5pt, fill=black!70] (v7) at (-2*36:2.3cm) {};
  \node[black!70, draw, circle, inner sep=1.5pt, fill=black!70] (v8) at (-3*36:2.6cm) {};

  \foreach \x/\y in {2/8,3/7,4/6,5/5,6/4,7/3,8/2,9/1,10/0} {
    \node[purple!70, draw, circle, inner sep=1.5pt, fill=purple!70] (vv\x) at (3*36-\x*36+18:3.3cm) {};
  }

  \draw[black!70, thick]
    (v1) -- (v2)
    (v1) -- (v3)
    (v3) -- (v4)
    (v3) -- (v5)
    (v5) -- (v6)
    (v6) -- (v7)
    (v7) -- (v8);

  \draw[black!70, thick]
    (v2) -- (vv10)
    (v2) -- (vv9)
    (v4) -- (vv2)
    (v4) -- (vv3)
    (v5) -- (vv4)
    (v6) -- (vv8)
    (v7) -- (vv5)
    (v8) -- (vv6)
    (v8) -- (vv7);
\end{scope}
\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{matrix,decorations.pathreplacing}

\begin{document}

\begin{tikzpicture}[
    scale=1.5,
    main/.style = {draw,circle,minimum size=1.5ex},
    every edge/.style = {draw,thick,-latex}
] 
    \node[main] (0) at ( 0, 0) {$0$}; 
    \node[main] (1) at ( 1, 0) {$1$}; 
    \node[main] (2) at ( 2, 0) {$2$}; 
    \node[main] (3) at ( 2, 1) {$3$}; 
    \node[main] (4) at ( 1, 1) {$4$}; 
    \node[main] (5) at ( 0, 1) {$5$}; 
    \path (1) edge (0);
    \path (1) edge (2);
    \path (3) edge (2);
    \path (3) edge (4);
    \path (5) edge (4);
    \path (5) edge (0);
    \path (1) edge (4);
\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=.8]
  \clip (3,-3.5) rectangle (6,-1);
  \filldraw (3.5,-3) circle (2.5pt);
  \filldraw (4.5,-1.5) circle (2.5pt);
  \filldraw (5.5,-3) circle (2.5pt);
  \draw [line width=1.1pt] (3.5,-3)--(4.5,-1.5);
  \draw [line width=1.1pt] (3.5,-3)--(5.5,-3);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows,decorations.pathmorphing,decorations.markings,backgrounds,positioning,fit,petri,calc,intersections,through}

\definecolor{ForestGreen}{rgb}{0.13,0.55,0.13}

\begin{document}
\begin{tikzpicture}[v/.style={draw,shape=circle, fill=black, minimum size=1.2mm, inner sep=0pt, outer sep=0pt},
                cylinder/.pic={
%vertical
\draw (-.5,1.25) to (-.5,-1.25); 
\draw (.5,1.25) to (.5,-1.25); 
%horizontal up
\draw (-1.25,.5) to (-.7,.5); 
\draw (-.3,.5) to (.3,.5); 
\draw (1.25,.5) to (.7,.5); 
%horizontal down
\draw (-1.25,-.5) to (-.7,-.5); 
\draw (-.3,-.5) to (.3,-.5); 
\draw (1.25,-.5) to (.7,-.5);
%waist lagrangians
\draw[color=red](-.55,.45) to[bend right=30] (-.55,-.45);
\draw[color=red](-.4,-.6) to[bend right=30] (.4,-.6);
\draw[color=red](.55,.45) to[bend left=30] (.55,-.45);
\draw[color=red](-.4,.6) to[bend left=30] (.4,.6);
}]

%cylinders from left to right
\draw (-5,4) pic {cylinder} (0,4) pic {cylinder};

%horizontal, twisted strips
\draw[name path=line11] (-3.75,4.5) to[in=180,out=0] (-1.25,3.5);
\draw[name path=line12] (-3.75,3.5) to[in=180,out=0] (-1.25,4.5);
\path [name intersections={of=line11 and line12,by=int1}];

%negative lagrangian
\draw[color=blue] (-.65,3.55) to[out=160,in=0,looseness=1] (int1) to[out=180,in=20,looseness=1] (-4.35,3.55); 
\draw[color=blue] (-.45,3.4) to[bend left=10] (0,2.8);
\draw[color=blue] (-4.55,3.4) to[bend right=10] (-5,2.8);  
%positive lagrangian
\draw[color=ForestGreen] (-.65,4.45) to[out=-160,in=0,looseness=1] (int1) to[out=180,in=-20,looseness=1] (-4.35,4.45);  
\draw[color=ForestGreen] (-.45,4.65) to[bend right=10] (0,5.2);
\draw[color=ForestGreen] (-4.55,4.65) to[bend left=10] (-5,5.2); 
%shading 1
\draw [fill=lightgray,draw=none, fill opacity=.3]  (-4.35,3.55) to[out=20,in=180,looseness=1] (int1) to[out=180,in=-20,looseness=1] (-4.35,4.45) -- (-4.45,4.45) to[bend left=30] (-4.45,3.55) ;

%shading 2
\draw [fill=darkgray,draw=none, fill opacity=.3]  (-.65,3.55)to[out=-200,in=0,looseness=1] (int1) to[out=0,in=-160,looseness=1] (-.65,4.45) -- (-.55,4.45) to[bend right=30] (-.55,3.55) ;

\node[v,label=90:$x_{02}$] at (int1) {};
\node[v,label=80:$x_{01}$] at (-4.4,4.47) {};
\node[v,label=280:$x_{12}$] at (-4.4,3.53) {};
\node[v,label=100:$x'_{01}$] at (-.6,4.47) {};
\node[v,label=260:$x'_{12}$] at (-.6,3.53) {};

\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}

\newcommand{\one}{\mathbf{1}}
\newcommand{\D}{\mathcal{D}}

\begin{document}
\begin{tikzpicture}
    \node (Cone) at (0,0) {$Cone(\one,\D)$};
    \node (Df)   at (2,1) {$\D_f$};
    \node (Dg)   at (2,-1) {$\D_g$};
    \draw[->] (Cone) to node[above] {$\lambda_f$} (Df);
    \draw[->] (Cone) to node[below] {$\lambda_g$} (Dg);
    \draw[->] (Df) to node[right] {$\D_{f \stackrel{\phi}{\longrightarrow} g}$} (Dg);
\end{tikzpicture}
\end{document}
\documentclass[standalone]{standalone}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{positioning,fit,calc,arrows,shapes,shapes.geometric}

\tikzset{
  center base/.style={baseline={([yshift=-.8ex]current bounding box.center)}},
  dpad0/.style={outer sep=0.05em, inner sep=0.3em, draw=gray!75, rounded corners=4, fill=black!08, fill opacity=1, align=center},
  arr2/.style={draw, ->, thick, shorten <=2pt, shorten >=2pt}
}

\begin{document}
\begin{tikzpicture}[center base]
  \node[dpad0] (Y) {$Y$};
  \node[dpad0,left=1.1 of Y] (X) {$X$};
  \draw[arr2] (X) to[bend left] node[pos=0.5, above] {$\mathcal N(f(x), s(x))$} (Y);
  \draw[arr2] (X) to[bend right] node[pos=0.5, below] {$\mathcal N(h(x), t(x))$} (Y);
  \draw[arr2, <-] (X) to
    node[pos=0.6, above]{$D$}
    node[below,pos=0.6, inner sep=2pt]{${\color{gray}\scriptscriptstyle(\infty)}$}
    +(-1.1, 0);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\usepackage{amsmath} % Added to define bmatrix environment

\begin{document}

\begin{tikzpicture}[auto, node distance=1.5cm,>=latex']
    \tikzstyle{block} = [draw, fill=cyan!20, rectangle, 
    minimum height=3em, minimum width=6em]
    \tikzstyle{input1} = [coordinate, node distance=1cm]
    \tikzstyle{linput} = [coordinate]
    \tikzstyle{clinput} = [coordinate]
    \tikzstyle{crinput} = [coordinate]
    \tikzstyle{routput} = [coordinate]
    \tikzstyle{output1} = [coordinate, node distance=1cm]

    \node [input1, name=input1] {};
    \node [block, right of=input1] (Left Beam) {Left Beam};
    \node [linput, right of=Left Beam] (linput) {};
    \node [clinput, right of=linput] (clinput) {};
    \node [block, right of=clinput] (Rigid Body) {Rigid Body};
    \node [crinput, right of=Rigid Body] (crinput) {};
    \node [routput, right of=crinput] (routput) {};
    \node [block, right of=routput] (Right Beam) {Right Beam};
    \node [output1, right of=Right Beam] (output1) {};

    \draw [->] ([yshift=0.1cm] Left Beam.east) -- node[pos=0.5] {\tiny$\begin{bmatrix}-EI w_l^{\prime\prime\prime}(0,t)\\ EI w_l^{\prime\prime}(0,t)\end{bmatrix}$} ([yshift=0.1cm] Rigid Body.west);
    \draw [->] ([yshift=-0.1cm] Rigid Body.west) -- node {\tiny $\begin{bmatrix} \dot{w}_c(t) \\ \dot{\theta}_c(t) \end{bmatrix}$} ([yshift=-0.1cm] Left Beam.east);
    \draw [->] ([yshift=0.1cm] Right Beam.west) -- node [above] {\tiny$\begin{bmatrix}EI w_r^{\prime\prime\prime}(0,t) \\ -EI w_r^{\prime\prime}(0,t)\end{bmatrix}$} ([yshift=0.1cm] Rigid Body.east);
    \draw [->] ([yshift=-0.1cm] Rigid Body.east) -- node[below] {\tiny$\begin{bmatrix} \dot{w}_c(t) \\ \dot{\theta}_c(t) \end{bmatrix}$} ([yshift=-0.1cm] Right Beam.west);
\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\tikzset{
  dot/.style = {circle, fill, minimum size=#1, inner sep=0pt, outer sep=0pt},
  dot/.default = 4pt
}

\begin{document}
\begin{tikzpicture}[scale=0.64]
  \coordinate (1) at (0,1);
  \coordinate (2) at (0.951,0.309);
  \coordinate (3) at (0.588,-0.809);
  \coordinate (4) at (-0.588,-0.809);
  \coordinate (5) at (-0.951,0.309);
  \coordinate (6) at (0,2);
  \coordinate (7) at (-1,2);
  \coordinate (8) at (1.176,-1.618);
  
  \foreach \n in {1,...,8} {
    \node[dot] at (\n) {};
    \node[below right] at (\n) {\n};
  }
  
  \draw (1) -- (2);
  \draw (2) -- (3);
  \draw (3) -- (4);
  \draw (4) -- (5);
  \draw (5) -- (1);
  \draw (1) -- (6);
  \draw (3) -- (8);
  \draw (6) -- (7);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\tikzset{
  dot/.style = {circle, fill, minimum size=#1, inner sep=0pt, outer sep=0pt},
  dot/.default = 4pt
}

\newcommand{\labvert}[3]{\coordinate (#1) at (#2); \node[dot] at (#2) {}; \node[#3] at (#2) {#1};}
\newcommand{\edge}[2]{\draw (#1) -- (#2);}

\begin{document}
\begin{tikzpicture}[scale=0.64]
  \labvert{1}{-1,0.5}{above};
  \labvert{2}{0,0.5}{above};
  \labvert{3}{1,0.5}{above};
  \labvert{4}{-1,-0.5}{above};
  \labvert{5}{0,-0.5}{above};
  \labvert{6}{1,-0.5}{above};
  \edge{1}{2};
  \edge{2}{3};
  \edge{4}{5};
  \edge{5}{6};
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning,arrows}

\tikzset{
  world/.style={circle,draw,minimum size=0.5cm,fill=gray!15},
}

\begin{document}
\begin{tikzpicture}
  \node[world] (w0) [label=right:{$p$}] {$w_0$};
  \node[world] (w1) [above=of w0, xshift=-25pt, label=above:{$p$}] {$w_1$};
  \node[world] (w2) [above=of w0, xshift=25pt, label=above:{$\lnot p$}] {$w_2$};
  \node[] (label) [below=of w0, yshift=25pt] {(iv) preserve $p$};
  \path[->] (w0) -- (w1) node [midway, xshift=7pt] {$a$};
  \path[->] (w0) -- (w2) node [midway, xshift=7pt] {$n$};
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.7}

\begin{document}
\begin{tikzpicture}
\begin{axis}[
    axis lines = left,
    xlabel={features (n)},
    ylabel={cross-entropy},
    xmin=0, xmax=27,
    ymin=0.5, ymax=0.75,
    ymajorgrids=false,
    grid style=dashed,
]
\addplot[black]
    coordinates {
    (1,0.686)(2,0.678)(3,0.683)(4,0.665)(5,0.643)(6,0.649)(7,0.631)
    (8,0.629)(9,0.627)(10,0.627)(11,0.638)(12,0.639)(13,0.648)(14,0.653)
    (15,0.653)(16,0.653)(17,0.658)(18,0.661)(19,0.677)(20,0.679)(21,0.679)
    (22,0.684)(23,0.688)(24,0.69)(25,0.696)(26,0.696)
    };
\addplot [black, dashed] coordinates {(9, 0.5) (9, 0.75)};
\end{axis}
\end{tikzpicture}
\end{document}