nemos.regularizer.UnRegularized.penalized_loss#

UnRegularized.penalized_loss(loss, regularizer_strength)[source]#

Returns the original loss function unpenalized.

Unregularized regularization method does not add any penalty.

Parameters:
  • loss (Callable)

  • regularizer_strength (float)