Learn R Programming

keras (version 2.7.0)

regularizer_l1: 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.