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.cpp113 int other_class = PickAClassExcept(target); in TrainOneExample() local
114 float other_class_score = Score(inputs, parameters_[other_class]); in TrainOneExample()
133 parameters_[other_class][i] -= rate * inputs[i]; in TrainOneExample()
146 int other_class = PickAClassExcept(target); in SparseTrainOneExample() local
147 float other_class_score = SparseScore(inputs, parameters_[other_class]); in SparseTrainOneExample()
166 parameters_[other_class][inputs[i].first] -= rate * inputs[i].second; in SparseTrainOneExample()