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

  /external/tensorflow/tensorflow/core/kernels/
smooth-hinge-loss.h 70 const double y_wx = example_label * wx; variable
71 if (y_wx >= 1) return 0;
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;
logistic-loss.h 68 const double y_wx = example_label * wx; variable
69 if (y_wx > 0) {
72 return log(1 + exp(-y_wx)) * example_weight;
77 return (log(1 + exp(y_wx)) - y_wx) * example_weight;
hinge-loss.h 91 const double y_wx = example_label * wx; variable
92 return std::max(0.0, 1 - y_wx) * example_weight;

Completed in 82 milliseconds