Regularizers
These are the regularizers made available by ERM to users. See the corresponding usage page to understand how and when to use these functions.
EmpiricalRiskMinimization.L1Reg — Type.L1Reg() constructs the L1 regularizer. Use with Model()
EmpiricalRiskMinimization.L2Reg — Type.L2Reg() constructs the L2 regularizer. Use with Model()
NonnegReg() is the nonnegative regularizer. Use with Model()
SqrtReg() computes the square root regularizer sqrt(abs(x_i)). Use with Model()