https://123dok.net/document/q0544xnx-the-common-directions-method-regularized-empirical-risk-minimization.html