How can I apply regularization during model training?

1 vues

Réponse

You can apply L1 and L2 regularization using the 'regL1' and 'regL2' parameters, respectively, within the 'optmlOpt' subparameter of 'nloOpts'. Both values must be non-negative.
Did this answer help you?
crfTrain

conditionalRandomFields

See technical action