G^*=\underset{G}{\operatorname{argmax}} P\left(f(G)=c_i\right) y \in \{c_1,\cdots,c_f\} \zeta(v) \leftarrow \underset{g \in G}{\operatorname{argmin}} g\left(f, \boldsymbol{X}_n\right)