Home
last modified time | relevance | path

Searched refs:other_class (Results 1 – 1 of 1) sorted by relevance

/frameworks/ml/bordeaux/learning/multiclass_pa/native/
Dmulticlass_pa.cpp111 int other_class = PickAClassExcept(target); in TrainOneExample() local
112 float other_class_score = Score(inputs, parameters_[other_class]); in TrainOneExample()
131 parameters_[other_class][i] -= rate * inputs[i]; in TrainOneExample()
144 int other_class = PickAClassExcept(target); in SparseTrainOneExample() local
145 float other_class_score = SparseScore(inputs, parameters_[other_class]); in SparseTrainOneExample()
164 parameters_[other_class][inputs[i].first] -= rate * inputs[i].second; in SparseTrainOneExample()