| Constructor and Description |
|---|
DefaultGradient() |
| Modifier and Type | Method and Description |
|---|---|
Vector |
apply(String groupKey,
int actual,
Vector instance,
AbstractVectorClassifier classifier)
Provides a default gradient computation useful for logistic regression.
|
public final Vector apply(String groupKey, int actual, Vector instance, AbstractVectorClassifier classifier)
apply in interface GradientgroupKey - A grouping key to allow per-something AUC loss to be used for training.actual - The target variable value.instance - The current feature vector to use for gradient computationclassifier - The classifier that can compute scoresCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.