nlp
1.2.0
nlp
/
com.londogard.nlp.meachinelearning.regularization
/
L2
L2
public
final
class
L2
implements
BaseRegularizer
Content copied to clipboard
Constructors
Functions
Properties
Constructors
L2
Link copied to clipboard
public
L2
L2
(
Float
lambda
)
Content copied to clipboard
Functions
get
Lambda
Link copied to clipboard
public
Float
getLambda
(
)
Content copied to clipboard
regularize
Link copied to clipboard
public
Float
regularize
(
SimpleMatrix
weights
,
Integer
size
)
Content copied to clipboard
Properties
lambda
Link copied to clipboard
private
final
Float
lambda
Content copied to clipboard