• Home
  • Raw
  • Download

Lines Matching refs:AssertLossFunctionIsValid

47 void AssertLossFunctionIsValid(const LossFunction& loss, double s) {  in AssertLossFunctionIsValid()  function
82 AssertLossFunctionIsValid(TrivialLoss(), 0.357); in TEST()
83 AssertLossFunctionIsValid(TrivialLoss(), 1.792); in TEST()
87 AssertLossFunctionIsValid(HuberLoss(0.7), 0.357); in TEST()
88 AssertLossFunctionIsValid(HuberLoss(0.7), 1.792); in TEST()
89 AssertLossFunctionIsValid(HuberLoss(1.3), 0.357); in TEST()
90 AssertLossFunctionIsValid(HuberLoss(1.3), 1.792); in TEST()
94 AssertLossFunctionIsValid(SoftLOneLoss(0.7), 0.357); in TEST()
95 AssertLossFunctionIsValid(SoftLOneLoss(0.7), 1.792); in TEST()
96 AssertLossFunctionIsValid(SoftLOneLoss(1.3), 0.357); in TEST()
97 AssertLossFunctionIsValid(SoftLOneLoss(1.3), 1.792); in TEST()
101 AssertLossFunctionIsValid(CauchyLoss(0.7), 0.357); in TEST()
102 AssertLossFunctionIsValid(CauchyLoss(0.7), 1.792); in TEST()
103 AssertLossFunctionIsValid(CauchyLoss(1.3), 0.357); in TEST()
104 AssertLossFunctionIsValid(CauchyLoss(1.3), 1.792); in TEST()
108 AssertLossFunctionIsValid(ArctanLoss(0.7), 0.357); in TEST()
109 AssertLossFunctionIsValid(ArctanLoss(0.7), 1.792); in TEST()
110 AssertLossFunctionIsValid(ArctanLoss(1.3), 0.357); in TEST()
111 AssertLossFunctionIsValid(ArctanLoss(1.3), 1.792); in TEST()
115 AssertLossFunctionIsValid(TolerantLoss(0.7, 0.4), 0.357); in TEST()
116 AssertLossFunctionIsValid(TolerantLoss(0.7, 0.4), 1.792); in TEST()
117 AssertLossFunctionIsValid(TolerantLoss(0.7, 0.4), 55.5); in TEST()
118 AssertLossFunctionIsValid(TolerantLoss(1.3, 0.1), 0.357); in TEST()
119 AssertLossFunctionIsValid(TolerantLoss(1.3, 0.1), 1.792); in TEST()
120 AssertLossFunctionIsValid(TolerantLoss(1.3, 0.1), 55.5); in TEST()
127 AssertLossFunctionIsValid(TolerantLoss(20.0, 1.0), 20.0 + 36.6); in TEST()
128 AssertLossFunctionIsValid(TolerantLoss(20.0, 1.0), 20.0 + 36.7); in TEST()
129 AssertLossFunctionIsValid(TolerantLoss(20.0, 1.0), 20.0 + 36.8); in TEST()
130 AssertLossFunctionIsValid(TolerantLoss(20.0, 1.0), 20.0 + 1000.0); in TEST()
138 AssertLossFunctionIsValid(c, 0.357); in TEST()
139 AssertLossFunctionIsValid(c, 1.792); in TEST()
145 AssertLossFunctionIsValid(c, 0.357); in TEST()
146 AssertLossFunctionIsValid(c, 1.792); in TEST()
156 AssertLossFunctionIsValid(scaled_loss, 0.323); in TEST()
160 AssertLossFunctionIsValid(scaled_loss, 0.357); in TEST()
164 AssertLossFunctionIsValid(scaled_loss, 1.792); in TEST()
168 AssertLossFunctionIsValid(scaled_loss, 1.792); in TEST()
172 AssertLossFunctionIsValid(scaled_loss, 1.792); in TEST()
176 AssertLossFunctionIsValid(scaled_loss, 1.792); in TEST()
181 AssertLossFunctionIsValid(scaled_loss, 1.792); in TEST()
188 AssertLossFunctionIsValid(scaled_loss, 1.792); in TEST()