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