HomeSort by relevance Sort by last modified time
    Searched refs:example_weight (Results 1 - 8 of 8) sorted by null

  /external/tensorflow/tensorflow/core/kernels/
loss.h 31 const double example_weight, const double current_dual, const double wx,
38 const double example_weight) const = 0;
43 const double example_weight) const = 0;
48 const double example_weight) const = 0;
hinge-loss.h 43 const double example_weight,
53 current_dual + (label - wx) / (num_loss_partitions * example_weight *
76 const double example_weight) const final {
83 return -y_alpha * example_weight;
90 const double example_weight) const final {
92 return std::max(0.0, 1 - y_wx) * example_weight;
96 const double example_weight) const final {
98 return -label * example_weight;
squared-loss.h 33 const double example_weight,
38 1 + num_loss_partitions * weighted_example_norm * example_weight;
45 const double example_weight) const final {
48 return current_dual * (0.5 * current_dual - example_label) * example_weight;
53 const double example_weight) const final {
55 return error * error * example_weight * 0.5;
59 const double example_weight) const final {
60 return (wx - label) * example_weight;
logistic-loss.h 32 const double example_weight,
40 x = NewtonStep(x, num_loss_partitions, label, wx, example_weight,
49 const double example_weight) const final {
56 return ((ay * log_ay) + (one_minus_ay * log_one_minus_ay)) * example_weight;
62 const double example_weight) const final {
72 return log(1 + exp(-y_wx)) * example_weight;
77 return (log(1 + exp(y_wx)) - y_wx) * example_weight;
82 const double example_weight) const final {
89 return inverse_exp_term * label * example_weight;
117 const double example_weight,
    [all...]
smooth-hinge-loss.h 34 const double example_weight,
46 (num_partitions * example_weight * weighted_example_norm + gamma);
57 const double example_weight) const final {
65 example_weight;
69 const double example_weight) const final {
72 if (y_wx <= 1 - gamma) return (1 - y_wx - gamma / 2) * example_weight;
73 return (1 - y_wx) * (1 - y_wx) * example_weight * 0.5 / gamma;
93 const double example_weight) const final {
sdca_ops.cc 169 const float example_weight = example.example_weight();
190 options.num_loss_partitions, example_label, example_weight, dual,
195 (new_dual - dual) * example_weight /
205 example_statistics.prev_wx[0], example_label, example_weight);
208 example_weight);
209 example_state_data(example_index, 3) = example_weight;
sdca_internal.cc 243 const double example_weight = example.example_weight(); local
252 example_statistics.wx[0], label, example_weight);
253 probabilities_[example_id] = example_weight *
sdca_internal.h 142 float example_weight() const { return example_weight_; } function in class:tensorflow::sdca::Example

Completed in 102 milliseconds