\begin{figure}[!t]
\begin{center}
\begin{tabular}{|c|@{\hspace{0.5mm}}c@{\hspace{0.5mm}}@{\hspace{0.5mm}}c@{\hspace{0.5mm}}@{\hspace{0.5mm}}c@{\hspace{0.5mm}}@{\hspace{0.5mm}}c@{\hspace{0.5mm}}@{\hspace{0.5mm}}c@{\hspace{0.5mm}}@{\hspace{0.5mm}}c@{\hspace{0.5mm}}@{\hspace{0.5mm}}c@{\hspace{0.5mm}}@{\hspace{0.5mm}}c@{\hspace{0.5mm}}@{\hspace{0.5mm}}c@{\hspace{0.5mm}}@{\hspace{0.5mm}}c@{\hspace{0.5mm}}@{\hspace{0.5mm}}c@{\hspace{0.5mm}}@{\hspace{0.5mm}}c@{\hspace{0.5mm}}@{\hspace{0.5mm}}c@{\hspace{0.5mm}}@{\hspace{0.5mm}}c@{\hspace{0.5mm}}|@{\hspace{0.5mm}}c@{\hspace{0.5mm}}|@{\hspace{0.5mm}}c@{\hspace{0.5mm}}|}\hline
row&
\emph{\begin{sideways}apex\end{sideways}}&
\emph{\begin{sideways}plex\end{sideways}}&
\emph{\begin{sideways}ltex\end{sideways}}&
\begin{sideways}pmat\end{sideways}&
\begin{sideways}rely\end{sideways}&
\begin{sideways}data\end{sideways}&
\begin{sideways}cplx\end{sideways}&
\begin{sideways}time\end{sideways}&
\begin{sideways}stor\end{sideways}&
\begin{sideways}pvol\end{sideways}&
\begin{sideways}acap\end{sideways}&
\begin{sideways}pcap\end{sideways}&
\begin{sideways}tool\end{sideways}&
\begin{sideways}sced\end{sideways}&
effort&
overlap\\\hline

57 & \lightergray3 & 2 & 2 & 3 & 4 & 3 & 5 & 5 & 5 & 4 & 3 & 3 &  3 & 3 & 38 & 13\\
56 & \lightergray3 & 2 & 2 & 3 & 4 & 3 & 5 & 5 & 5 & 4 & 3 & 3 & 3 & 3 & 12 & 13\\ 
55 & \lightergray3 & 2 & 2 & 3 & 4 & 3 & 5 & 5 & 5 & 4 & 3 & 3 & 3 & 3 & 480 & 13\\ 
53 & 2 & 1 & 2 & 2 & 5 & 2 & 5 & 5 & \lightergray6 & 2 & 4 & 3 & 4 & 3 & 648 & 13\\
35 & \lightergray4 & \lightergray3 & 3 & 2 & 4 & 3 & 4 & 4 & 4 & 2 & 3 & 3 & 3 & 3 & 370 & 12\\ 
26 & \lightergray3 & \lightergray3 & 3 & 3 & 3 & 3 & 4 & 4 & 3 & 3 & 3 & 3 & 3 & 3 & 114 & 12\\
09 & \lightergray4 & 2 & 1 & 3 & 3 & 2 & 4 & \lightergray3 & 3 & 4 & 4 & 4 & 3 & 3 & 215 & 12\\
40 & \lightergray4 & \lightergray3 & \lightergray4 & 3 & 4 & 3 & 4 & 4 & 3 & 2 & 4 & 4 & 3 & 3 & 636 & 11\\ 
25 & \lightergray3 & \lightergray3 & 3 & 3 & 3 & 3 & 4 & \lightergray3 & 3 & 3 & 3 & 3 & 3 & 3 & 42 & 11\\ 
23 & \lightergray3 & \lightergray3 & 3 & 3 & 3 & 3 & 4 & \lightergray3 & 3 & 3 & 3 & 3 & 3 & 3 & 60 & 11\\ 
22 & \lightergray3 & \lightergray3 & 3 & 3 & 4 & 3 & 4 & \lightergray3 & 3 & 3 & 3 & 3 & 3 & 3 & 42 & 11\\ 
17 & \lightergray4 & \lightergray3 & 3 & 3 & 4 & 3 & 4 & \lightergray3 & 3 & 3 & 3 & 4 & 3 & 3 & 210 & 11\\ 
16 & \lightergray4 & \lightergray3 & 3 & 3 & 4 & 3 & \lightergray3 & 4 & 3 & 3 & 3 & 4 & 3 & 3 & 90 & 11\\ 
47 & \lightergray3 & \lightergray4 & \lightergray4 & \lightergray4 & 4 & 3 & 5 & 4 & 4 & 2 & 4 & 3 & 3 & 3 & 703 & 10\\ 
44 & \lightergray4 & \lightergray4 & \lightergray4 & 2 & 3 & 3 & 4 & \lightergray3 & 5 & 2 & 4 & 4 & 3 & 2 & 300 & 10\\ 
43 & \lightergray4 & \lightergray4 & \lightergray4 & 2 & 3 & 3 & 4 & \lightergray3 & 5 & 2 & 4 & 4 & 3 & 2 & 300 & 10\\ 
41 & \lightergray4 & \lightergray4 & \lightergray4 & 2 & 4 & 3 & 4 & \lightergray3 & 5 & 2 & 4 & 4 & 3 & 2 & 576 & 10\\ 
36 & \lightergray3 & 2 & 3 & \lightergray4 & 3 & \lightergray4 & 5 & \lightergray3 & 3 & 2 & 4 & 5 & 3 & 2 & 278 & 10\\ 
34 & \lightergray4 & \lightergray3 & \lightergray4 & 2 & 3 & \lightergray4 & 4 & 5 & 3 & 3 & 4 & 4 & 3 & 3 & 155 & 10\\ 
33 & \lightergray4 & \lightergray3 & \lightergray4 & 2 & 3 & \lightergray4 & 4 & 5 & 3 & 3 & 4 & 4 & 3 & 3 & 98.8 & 10\\\hline
\multicolumn{17}{c}{(other cases omitted)}
\end{tabular}
\caption{RELEVANT= cases nearest to $context_1$.}\label{fig:train-filter}
\end{center}
\end{figure}