\begin{table}[h]
  \caption{Classification results for $K$-nearest neighbor.}
  \label{tab2} \centering
  \begin{tabular}{|c|c|c|c|}
    \hline
    \backslashbox{True}{Obtained} & \pbox{2in}{Vehicle 1 \\ \centering (white
truck)} & \pbox{2in}{Vehicle 2 \\ \centering (black truck)} & \pbox{2in}{Vehicle 3
\\ \centering (jeep)} \\
\hline
    Vehicle 1 (white truck)   &     64      &      0      &  0   \\ \hline
    Vehicle 2 (black truck)   &      1      &     30      &  1   \\ \hline
    Vehicle 3 (jeep)       &      11      &      4      &  33  \\ \hline
  \end{tabular}
\end{table}
Obtained
True Vehicle 1
(white truck) Vehicle 2
(black truck) Vehicle 3
(jeep)
Vehicle 1 (white truck) 64 0 0
Vehicle 2 (black truck) 1 30 1
Vehicle 3 (jeep) 11 4 33