Searched refs:y_minus_a (Results 1 – 1 of 1) sorted by relevance
38 const double y_minus_a = label - current_dual; in ComputeUpdatedDual() local39 double x = (y_minus_a > 0) ? log(y_minus_a) : 0; in ComputeUpdatedDual()54 const double y_minus_a = example_label - current_dual; in ComputeDualLoss() local55 if (y_minus_a == 0.0) { in ComputeDualLoss()59 if (y_minus_a < 0.0) { in ComputeDualLoss()62 return y_minus_a * (log(y_minus_a) - 1) * example_weight; in ComputeDualLoss()