org.apache.mahout.classifier.sgd
Interface Gradient
- All Known Implementing Classes:
- DefaultGradient, MixedGradient, RankingGradient
public interface Gradient
Provides the ability to inject a gradient into the SGD logistic regresion.
Typical uses of this are to use a ranking score such as AUC instead of a
normal loss function.
apply
Vector apply(java.lang.String groupKey,
int actual,
Vector instance,
AbstractVectorClassifier classifier)
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.