%%%------------------------------------------------------------------------------------------------------------ \begin{tikzpicture} %% a two-layer neural network \begin{scope} { \draw [->,thick] (-1.8,0) -- (1.8,0); \draw [->,thick] (0,0) -- (0,2); \draw [-] (-0.05,1) -- (0.05,1); \node [anchor=east,inner sep=1pt] (label1) at (0,1) {\tiny{1}}; \node [anchor=south east,inner sep=1pt] (label2) at (0,0) {\tiny{0}}; \node [anchor=south east,inner sep=1pt] (labela) at (0.2,-0.5) {\footnotesize{(a)}}; } {\node [anchor=north west,align=left] (wblabel) at (-1.8,2) {\scriptsize{$w_1=100$}\\[-0ex] {\scriptsize{\ $b_1=-4$}}};} {\draw [-,very thick,ublue,rounded corners=0.1em] (-1.5,0) -- (0.5,0) -- (0.5,1) -- (1.5,1);} \end{scope} %--------------------------------------------------------------------------------------------- \begin{scope}[xshift=1.6in] { \draw [->,thick] (-1.8,0) -- (1.8,0); \draw [->,thick] (0,0) -- (0,2); \draw [-] (-0.05,1) -- (0.05,1); \node [anchor=east,inner sep=1pt] (label1) at (0,1) {\tiny{1}}; \node [anchor=south east,inner sep=1pt] (label2) at (0,0) {\tiny{0}}; \node [anchor=south east,inner sep=1pt] (labelb) at (0.2,-0.5) {\footnotesize{(b)}}; } {\node [anchor=north west,align=left] (wblabel) at (-1.8,2) {{\scriptsize{$w'_1=0.9$}}};} {\draw [-,very thick,ublue,rounded corners=0.1em] (-1.8,0) -- (0.5,0) -- (0.5,0.9) -- (1.8,0.9);} \end{scope} %----------------------------------------------------------------------------------------------- \begin{scope}[xshift=3.2in] { \draw [->,thick] (-1.8,0) -- (1.8,0); \draw [->,thick] (0,0) -- (0,2); \draw [-] (-0.05,1) -- (0.05,1); \node [anchor=east,inner sep=1pt] (label1) at (0,1) {\tiny{1}}; \node [anchor=south east,inner sep=1pt] (label2) at (0,0) {\tiny{0}}; \node [anchor=south east,inner sep=1pt] (labelc) at (0.2,-0.5) {\footnotesize{(c)}}; } {\node [anchor=north west,align=left] (wblabel) at (-1.8,2) {{\scriptsize{$w'_1=0.7$}}};} {\draw [-,very thick,ublue,rounded corners=0.1em] (-1.5,0) -- (0.5,0) -- (0.5,0.7) -- (1.5,0.7);} \end{scope} \end{tikzpicture} %%%------------------------------------------------------------------------------------------------------------