Regularizers#

The following regularizers are supported in USEncrypt.ai:

Regularizer

Base class for regularizers.

L1

Applies an L1 regularization penalty, defined as l1 * numpy.sum(numpy.abs(x)).

L2

Applies an L2 regularization penalty, defined as l2 * numpy.sum(x * x).