regularizer_l1: L1 and L2 regularization

View source: R/regularizers.R

regularizer_l1R 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.


keras documentation built on May 29, 2024, 3:20 a.m.