\begin{algorithm}[!t]
\caption{Histogram Binning (HB)}
\label{alg:hb}
\begin{algorithmic}[1]
\STATE \textbf{Input:} scoring function $f'$
\FOR{$p \in [\frac{1}{m}]$}
{
\STATE Set 
\[
    \hat{f}(x) = 
    \begin{cases} 
        f'(x) + \Delta_p(f') & \text{if } x \in S_p(f') \\
        f'(x) & \text{otherwise}
    \end{cases}
\]
}
\ENDFOR
\STATE \textbf{Output:} $\hat{f}$
\end{algorithmic}
\end{algorithm}