public class LinearTools extends Object
Modifier and Type | Method and Description |
---|---|
static double |
maxLambdaLogisticL1(ClassificationDataSet cds)
If the linear model performs logistic regression regularized by λ
||w||1, this method computes the smallest value of lambda that
produces a weight vector of all zeros.
Note, that the value returned depends on the data set size. |
public static double maxLambdaLogisticL1(ClassificationDataSet cds)
cds
- the data set that the model would be trained fromCopyright © 2017. All rights reserved.