Regularizers

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.

L1Reg() constructs the L1 regularizer. Use with Model()

source

L2Reg() constructs the L2 regularizer. Use with Model()

source

NonnegReg() is the nonnegative regularizer. Use with Model()

source

SqrtReg() computes the square root regularizer sqrt(abs(x_i)). Use with Model()

source