regularizer_l1: L1 and L2 regularization

Description Usage Arguments

View source: R/regularizers.R

Description

L1 and L2 regularization

Usage

1
2
3
4
5
regularizer_l1(l = 0.01)

regularizer_l2(l = 0.01)

regularizer_l1_l2(l1 = 0.01, l2 = 0.01)

Arguments

l

Regularization factor.

l1

L1 regularization factor.

l2

L2 regularization factor.


keras documentation built on March 30, 2021, 1:06 a.m.