We rewrite the optimization problems (7) in matrix form as shown below.
we first make equal conversion of (7) to obtain: we define a vector version of the single-parameter robust loss function M: the linear classifier optimization (3) can be rewritten as: The sum() function calculates the sum of all elements of a vector.