Searched refs:y_alpha (Results 1 – 2 of 2) sorted by relevance
79 const double y_alpha = current_dual * example_label; // y \alpha in ComputeDualLoss() local80 if (y_alpha < 0 || y_alpha > 1.0) { in ComputeDualLoss()83 return -y_alpha * example_weight; in ComputeDualLoss()
60 const double y_alpha = current_dual * example_label; // y \alpha in ComputeDualLoss() local61 if (y_alpha < 0 || y_alpha > 1.0) { in ComputeDualLoss()64 return (-y_alpha + 0.5 * gamma * current_dual * current_dual) * in ComputeDualLoss()