Home
last modified time | relevance | path

Searched refs:current_dual (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dsmooth-hinge-loss.h35 const double current_dual, const double wx, in ComputeUpdatedDual() argument
44 current_dual + in ComputeUpdatedDual()
45 (label - wx - gamma * current_dual) / in ComputeUpdatedDual()
56 double ComputeDualLoss(const double current_dual, const double example_label, in ComputeDualLoss() argument
60 const double y_alpha = current_dual * example_label; // y \alpha in ComputeDualLoss()
64 return (-y_alpha + 0.5 * gamma * current_dual * current_dual) * in ComputeDualLoss()
Dpoisson-loss.h31 const double current_dual, const double wx, in ComputeUpdatedDual() argument
38 const double y_minus_a = label - current_dual; in ComputeUpdatedDual()
42 weighted_example_norm, current_dual); in ComputeUpdatedDual()
49 double ComputeDualLoss(const double current_dual, const double example_label, in ComputeDualLoss() argument
54 const double y_minus_a = example_label - current_dual; in ComputeDualLoss()
96 const double current_dual) const { in NewtonStep() argument
100 example_weight * (label - current_dual - expx); in NewtonStep()
Dsquared-loss.h34 const double current_dual, const double wx, in ComputeUpdatedDual() argument
36 const double delta_numerator = label - current_dual - wx; in ComputeUpdatedDual()
39 return current_dual + delta_numerator / delta_denominator; in ComputeUpdatedDual()
44 double ComputeDualLoss(const double current_dual, const double example_label, in ComputeDualLoss() argument
48 return current_dual * (0.5 * current_dual - example_label) * example_weight; in ComputeDualLoss()
Dlogistic-loss.h33 const double current_dual, const double wx, in ComputeUpdatedDual() argument
41 weighted_example_norm, current_dual); in ComputeUpdatedDual()
48 double ComputeDualLoss(const double current_dual, const double example_label, in ComputeDualLoss() argument
52 const double ay = current_dual * example_label; in ComputeDualLoss()
119 const double current_dual) const { in NewtonStep() argument
124 (0.5 * (1 + tanhx) / label - current_dual); in NewtonStep()
Dhinge-loss.h44 const double current_dual, const double wx, in ComputeUpdatedDual() argument
53 current_dual + (label - wx) / (num_loss_partitions * example_weight * in ComputeUpdatedDual()
75 double ComputeDualLoss(const double current_dual, const double example_label, in ComputeDualLoss() argument
79 const double y_alpha = current_dual * example_label; // y \alpha in ComputeDualLoss()
Dloss.h31 const double example_weight, const double current_dual, const double wx,
36 virtual double ComputeDualLoss(const double current_dual,
Dloss_test.cc40 const double current_dual, const double wx, in TestComputeUpdatedDual() argument
43 num_loss_partitions, label, example_weight, current_dual, wx, in TestComputeUpdatedDual()
46 double new_wx = wx + (new_dual - current_dual) * num_loss_partitions * in TestComputeUpdatedDual()