\begin{table}[h]
\small
\setlength{\tabcolsep}{3pt}
\caption{Multi-class classification results for six different loss functions, two sampling methods, and two different medical imaging datasets in terms of \textbf{balanced accuracy}($\uparrow$). 
Results for the glioma dataset are $\text{mean}_{\pm\text{std}}$.
}
\label{tab:results-multi-bal-acc}
\centering
\begin{tabular}{@{}llcccccc@{}}
    \toprule
    Dataset                   & Sampling         & CE             & CE + F1                & CE + MCC                & F1             & Focal          & MCC            \\ \midrule
    \multirow{3}{*}{Glioma}   & Uniform          & $ 0.55_{\pm0.03}$ & $ 0.57_{\pm0.02}$         & $ 0.59_{\pm0.03}$          & $ 0.51_{\pm0.12}$ & $ 0.57_{\pm0.04}$ & $ 0.39_{\pm0.10}$ \\
                              & + Weights & $ 0.59_{\pm0.03}$ & $ 0.60_{\pm0.02}$         & $ \textbf{0.62}_{\pm0.03}$ & -              & -              & -              \\
                              & Oversampling     & $ 0.61_{\pm0.01}$ & $\textbf{0.62}_{\pm0.01}$ & $ 0.59_{\pm0.04}$          & $ 0.60_{\pm0.03}$ & $ 0.61_{\pm0.04}$ & $ 0.59_{\pm0.03}$ \\ \midrule
    \multirow{3}{*}{Glaucoma} & Uniform          & 0.69           & 0.70                   & 0.72                    & 0.59           & 0.70           & 0.59           \\
                              & + Weights & 0.74           & 0.76                   & 0.75                    & -              & -              & -              \\
                              & Oversampling     & 0.75           & \textbf{0.77}          & 0.76                    & 0.58           & 0.74           & 0.50           \\ \bottomrule
\end{tabular}
\end{table}

% \begin{table}
% \caption{Glioma}
% \begin{tabular}{llrr}
% \toprule
%  &  & Balanced Accuracy & MCC \\
% Loss & Sampling &  &  \\
% \midrule
% \multirow[t]{3}{*}{CE} & oversampling & 0.545 & 0.479 \\
%  & uniform & 0.516 & 0.435 \\
%  & uniform + sample weighting & 0.613 & 0.510 \\
% \cline{1-4}
% \multirow[t]{3}{*}{CE + F1} & oversampling & 0.615 & 0.543 \\
%  & uniform & 0.566 & 0.519 \\
%  & uniform + sample weighting & 0.610 & 0.531 \\
% \cline{1-4}
% \multirow[t]{3}{*}{CE + MCC} & oversampling & 0.599 & 0.535 \\
%  & uniform & 0.643 & 0.593 \\
%  & uniform + sample weighting & 0.587 & 0.496 \\
% \cline{1-4}
% \multirow[t]{2}{*}{F1} & oversampling & 0.610 & 0.546 \\
%  & uniform & 0.612 & 0.586 \\
% \cline{1-4}
% \multirow[t]{2}{*}{Focal} & oversampling & 0.594 & 0.482 \\
%  & uniform & 0.530 & 0.519 \\
% \cline{1-4}
% \multirow[t]{2}{*}{MCC} & oversampling & 0.581 & 0.581 \\
%  & uniform & 0.543 & 0.509 \\
% \cline{1-4}
% \bottomrule
% \end{tabular}
% \end{table}

% \begin{table}
% \caption{Glaucoma}
% \begin{tabular}{llrr}
% \toprule
%  &  & Balanced Accuracy & MCC \\
% Loss & Sampling &  &  \\
% \midrule
% \multirow[t]{3}{*}{CE} & Lossweighting & 0.743 & 0.608 \\
%  & oversampling & 0.747 & 0.618 \\
%  & uniform & 0.692 & 0.633 \\
% \cline{1-4}
% \multirow[t]{3}{*}{CE + F1} & Lossweighting & 0.762 & 0.642 \\
%  & oversampling & 0.765 & 0.645 \\
%  & uniform & 0.698 & 0.639 \\
% \cline{1-4}
% \multirow[t]{3}{*}{CE + MCC} & Lossweighting & 0.748 & 0.639 \\
%  & oversampling & 0.760 & 0.627 \\
%  & uniform & 0.715 & 0.648 \\
% \cline{1-4}
% \multirow[t]{2}{*}{F1} & oversampling & 0.579 & 0.522 \\
%  & uniform & 0.588 & 0.528 \\
% \cline{1-4}
% \multirow[t]{2}{*}{Focal} & oversampling & 0.736 & 0.608 \\
%  & uniform & 0.703 & 0.629 \\
% \cline{1-4}
% \multirow[t]{2}{*}{MCC} & oversampling & 0.495 & 0.269 \\
%  & uniform & 0.592 & 0.530 \\
% \cline{1-4}
% \bottomrule
% \end{tabular}
% \end{table}



% \begin{table}
%     \caption{Results of multi-class glioma classification for six different loss functions and two sampling methods.}
%     \label{tab:results-multi-bal-acc}
%     \centering
%     \begin{tabular}{@{}ll|cccc@{}}
%         \toprule
%         \multirow{2}{*}{Loss}     & \multirow{2}{*}{Sampling} & \multirow{2}{*}{Accuracy} & \multicolumn{2}{c}{AUC} & \multirow{2}{*}{MCC}                 \\
%                                   &                           &                           & Micro                   & Macro                &               \\ \midrule
%         \multirow{2}{*}{CE}       & uniform                   & 0.74                      & 0.91                    & 0.80                 & 0.44          \\
%                                   & oversampling              & 0.76                      & 0.91                    & 0.80                 & 0.48          \\
%         \multirow{2}{*}{CE + F1}  & uniform                   & 0.78                      & 0.92                    & 0.82                 & 0.52          \\
%                                   & oversampling              & 0.78                      & 0.92                    & 0.81                 & 0.54          \\
%         \multirow{2}{*}{CE + MCC} & uniform                   & \textbf{0.81}             & 0.92                    & \textbf{0.83}        & \textbf{0.59} \\
%                                   & oversampling              & 0.78                      & 0.92                    & 0.81                 & 0.54          \\
%         \multirow{2}{*}{F1}       & uniform                   & 0.80                      & 0.91                    & 0.78                 & \textbf{0.59} \\
%                                   & oversampling              & 0.77                      & 0.91                    & 0.81                 & 0.55          \\
%         \multirow{2}{*}{Focal}    & uniform                   & 0.78                      & 0.92                    & 0.82                 & 0.52          \\
%                                   & oversampling              & 0.75                      & 0.90                    & 0.80                 & 0.48          \\
%         \multirow{2}{*}{MCC}      & uniform                   & 0.77                      & 0.88                    & 0.75                 & 0.51          \\
%                                   & oversampling              & 0.78                      & 0.89                    & 0.76                 & 0.58          \\ \bottomrule
%     \end{tabular}
% \end{table}