Searched refs:other_class (Results 1 – 1 of 1) sorted by relevance
111 int other_class = PickAClassExcept(target); in TrainOneExample() local112 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() local145 float other_class_score = SparseScore(inputs, parameters_[other_class]); in SparseTrainOneExample()164 parameters_[other_class][inputs[i].first] -= rate * inputs[i].second; in SparseTrainOneExample()