How to create a confusion matrix for one node of a decision tree?
CM is about True Vs Predicted.
Since only one node is in the discussion which means we will have only one column of &quot;Predicted&quot; but all the possible rows of &quot;True&quot;
Let's assume 100 samples in the Node. The Node must be classified as &quot;A&quot;
Below should be the CM - Rows are &quot;True&quot; and the Column is the &quot;Predicted&quot;
\begin{array} {|r|r|}
\hline
 &amp;A &amp;B &amp;C &amp;D &amp;E &amp;F \\
\hline
A &amp;62 &amp;- &amp;- &amp;- &amp;- &amp;- \\
\hline
B &amp;21 &amp;- &amp;- &amp;- &amp;- &amp;- \\
\hline
C &amp;13 &amp;- &amp;- &amp;- &amp;- &amp;- \\
\hline
D &amp;00 &amp;- &amp;- &amp;- &amp;- &amp;- \\
\hline
E &amp;02 &amp;- &amp;- &amp;- &amp;- &amp;- \\
\hline
F &amp;02 &amp;- &amp;- &amp;- &amp;- &amp;- \\
\hline
\end{array}