| \begin{tikzpicture}[ |
| scale=0.9, |
| font=\small, |
| |
| level distance=1.5cm, |
| |
| treenode/.style={circle, draw, line width=0.8pt, inner sep=0pt, |
| drop shadow={opacity=0.3, shadow xshift=1.5pt, shadow yshift=-1.5pt}}, |
| leaf/.style={treenode, draw=blue!50!black, fill=blue!10, minimum size=7mm}, |
| internal_binary/.style={treenode, draw=gray!70!black, fill=gray!15, minimum size=8mm}, |
| internal_poly/.style={treenode, draw=red!70!black, fill=red!15, minimum size=8mm, line width=1pt}, |
| internal_artificial/.style={treenode, draw=yellow!70!black, fill=yellow!25, minimum size=8mm, line width=1pt, dashed}, |
| |
| edge from parent/.style={draw, line width=0.8pt, gray!60} |
| ] |
|
|
| |
| |
| |
| \begin{scope}[xshift=0cm] |
| |
| \node[font=\bfseries\large, anchor=south] at (0.9, -0.2) {Original $\mathcal{T}$}; |
|
|
| |
| \node[internal_poly] (root) at (0.9, -1) {} |
| child[sibling distance=1.8cm] {node[leaf] {1}} |
| child[sibling distance=1.8cm] {node[leaf] {2}} |
| child[sibling distance=1.8cm] {node[internal_binary] (A) {} |
| child[sibling distance=1.1cm] {node[leaf] {3}} |
| child[sibling distance=1.1cm] {node[leaf] {4}} |
| }; |
|
|
| |
| \node[right=0.15cm of root, font=\small, text=red!60!black] {$k\!=\!3$}; |
|
|
| |
| \begin{scope}[yshift=-5.0cm] |
| |
| \draw[fill=white, drop shadow={opacity=0.1}] (0.0, 0) rectangle (2.4, -0.7); |
| |
| |
| \fill[red!15] (0.0, 0) rectangle (1.6, -0.7); |
| \draw[red!30] (0.8, 0) -- (0.8, -0.7); |
| |
| |
| \fill[gray!15] (1.6, 0) rectangle (2.4, -0.7); |
| |
| |
| \draw[thick] (0.0, 0) rectangle (2.4, -0.7); |
| |
| |
| \node[font=\large, anchor=north] at (1.2, -0.9) {$V \in \mathbb{R}^{4 \times 3}$}; |
| \end{scope} |
| |
| |
| \draw[-{Stealth[length=2.5mm]}, red!40, line width=1.2pt, dashed] |
| (root.south west) .. controls (-0.5, -3.0) and (0.0, -4.0) .. (0.8, -4.8); |
| \end{scope} |
|
|
| |
| |
| |
| \draw[gray!20, line width=1.5pt] (4.2, 0) -- (4.2, -5.5); |
|
|
|
|
| |
| |
| |
| \begin{scope}[xshift=6.0cm] |
| |
| \node[font=\bfseries\large, anchor=south] at (0.9, -0.2) {Binarized $\mathcal{T}_b$}; |
|
|
| |
| \node[internal_binary] (root_b) at (0.9, -1) {} |
| child[sibling distance=2.5cm] {node[internal_artificial] (art) {} |
| child[sibling distance=1.1cm] {node[leaf] {1}} |
| child[sibling distance=1.1cm] {node[leaf] {2}} |
| } |
| child[sibling distance=2.5cm] {node[internal_binary] {} |
| child[sibling distance=1.1cm] {node[leaf] {3}} |
| child[sibling distance=1.1cm] {node[leaf] {4}} |
| }; |
|
|
| |
| \node[right=0.05cm of art, font=\small, text=yellow!60!black] {artificial}; |
|
|
| |
| \begin{scope}[yshift=-5.0cm] |
| |
| \draw[fill=white, drop shadow={opacity=0.1}] (-0.3, 0) rectangle (2.1, -0.7); |
| |
| |
| \fill[gray!15] (-0.3, 0) rectangle (0.5, -0.7); |
| |
| |
| \fill[yellow!25] (0.5, 0) rectangle (1.3, -0.7); |
| |
| |
| \fill[gray!15] (1.3, 0) rectangle (2.1, -0.7); |
| |
| |
| \draw[gray!30] (0.5, 0) -- (0.5, -0.7); |
| \draw[yellow!50] (1.3, 0) -- (1.3, -0.7); |
| |
| |
| \draw[thick] (-0.3, 0) rectangle (2.1, -0.7); |
| |
| |
| \node[font=\large, anchor=north] at (0.9, -0.9) {$V_b \in \mathbb{R}^{4 \times 3}$}; |
| \end{scope} |
|
|
| \end{scope} |
|
|
| |
| \path (-1.5, -7.0) rectangle (10, 1); |
| \end{tikzpicture} |