
\begin{table}[h]
\renewcommand{\arraystretch}{1.2}
\centering
\caption{Detection rate (Det) and Expected Calibration Error (ECE) across different lesion sizes and loss functions.}
\label{tab:kits_lesion_metrics}
\begin{adjustbox}{max width=1.\textwidth}
\begin{tabular}{lc|c|cc|cc|cc}
\toprule
\textbf{\begin{tabular}{@{}c@{}}Lesion\\Size\end{tabular}} & \textbf{Metric} & \textbf{Dice++} & \textbf{\begin{tabular}{@{}c@{}}CE +\\Dice\end{tabular}} & \textbf{\begin{tabular}{@{}c@{}}CE + Dice\\Surgery\end{tabular}} & \textbf{Dice} & \textbf{\begin{tabular}{@{}c@{}}Dice\\Surgery\end{tabular}} & \textbf{Tversky} & \textbf{\begin{tabular}{@{}c@{}}Tversky\\Surgery\end{tabular}} \\
\midrule
\midrule
\multirow{2}{*}{\textbf{Small}} 
  & Det. & 0.9221 & 0.8961 & 0.9481 & 0.9091 & 0.9091 & 0.8961 & 0.9481 \\
  & ECE & 0.2272 & 0.3112 & 0.2172 & 0.2764 & 0.2182 & 0.3586 & 0.1664 \\
\midrule
\multirow{2}{*}{\textbf{Large}} 
  & Det. & 0.9872 & 0.9615 & 0.9359 & 0.9615 & 0.9744 & 0.9615 & 0.9487 \\
  & ECE & 0.0976 & 0.1607 & 0.1279 & 0.1611 & 0.0991 & 0.2128 & 0.1170 \\
\midrule
\multirow{2}{*}{\textbf{Very Large}} 
  & Det. & 1.000 & 0.9744 & 0.9871 & 0.9872 & 0.9872 & 1.000 & 0.9744 \\
  & ECE & 0.055 &  0.0949 & 0.0610 & 0.0949 & 0.0589 & 0.1134 & 0.0558 \\
\bottomrule
\end{tabular}
\end{adjustbox}
\end{table}
