D | stochastic_linear_ranker.cpp | 26 const SparseWeightVector<Key, Hash> &positive, in UpdateSubGradient() argument 34 gradient.AdditiveWeightUpdate(1.0, positive, 0.0); in UpdateSubGradient() 63 const SparseWeightVector<Key, Hash> &positive, in UpdateClassifier() argument 70 const double positive_score = ScoreSample(positive); in UpdateClassifier() 83 UpdateSubGradient(positive, negative, learning_rate, in UpdateClassifier() 90 UpdateSubGradient(positive, negative, learning_rate, in UpdateClassifier() 96 UpdateSubGradient(positive, current_negative_, learning_rate, in UpdateClassifier()
|