DataPredict

API Reference - Others - Regularizer

Constructors

new()

Creates a new regularization object. If any of the arguments are not given, default argument values for that argument will be used.

Regularizer.new(lambda: number, regularizationMode: string, hasBias: boolean): RegularizationObject

Parameters:

Returns:

Functions

setParameters()

Set regularization’s parameters. When any of the arguments are not given, previous argument values for that argument will be used.

Regularizer:setParameters(lambda: number, regularizationMode: string, hasBias: boolean)

Parameters:

getLambda()

Get the lambda from the regularization object.

Regularizer:getLambda(): number

Returns: