interface RegularizationOptions
Specify these values to prevent overfitting.
l2 regularization will tend to keep weight small while l1 will tend to zero irrelevant weights and can be seen as feature selectionModifier and Type | Method and Description |
---|---|
SGDVowpalWabbitBuilder |
l1(double l1)
l_1 lambda
|
SGDVowpalWabbitBuilder |
l2(double l2)
l_2 lambda
|
SGDVowpalWabbitBuilder l1(double l1)
l1
- l1 regularization. Must be not negative. Default 0SGDVowpalWabbitBuilder l2(double l2)
l2
- l2 regularization. Must be not negative. Default 0Copyright © 2017. All rights reserved.