regularizer_l1 {keras}R Documentation

L1 and L2 regularization

Description

L1 and L2 regularization

Usage

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.


[Package keras version 2.15.0 Index]