Lines Matching refs:TolerantLoss
114 TEST(LossFunction, TolerantLoss) {
115 AssertLossFunctionIsValid(TolerantLoss(0.7, 0.4), 0.357);
116 AssertLossFunctionIsValid(TolerantLoss(0.7, 0.4), 1.792);
117 AssertLossFunctionIsValid(TolerantLoss(0.7, 0.4), 55.5);
118 AssertLossFunctionIsValid(TolerantLoss(1.3, 0.1), 0.357);
119 AssertLossFunctionIsValid(TolerantLoss(1.3, 0.1), 1.792);
120 AssertLossFunctionIsValid(TolerantLoss(1.3, 0.1), 55.5);
123 TolerantLoss(0.7, 0.4).Evaluate(0.0, rho);
127 AssertLossFunctionIsValid(TolerantLoss(20.0, 1.0), 20.0 + 36.6);
128 AssertLossFunctionIsValid(TolerantLoss(20.0, 1.0), 20.0 + 36.7);
129 AssertLossFunctionIsValid(TolerantLoss(20.0, 1.0), 20.0 + 36.8);
130 AssertLossFunctionIsValid(TolerantLoss(20.0, 1.0), 20.0 + 1000.0);
180 new TolerantLoss(1.3, 0.1), 10, TAKE_OWNERSHIP);
187 new TolerantLoss(1.3, 0.5), TAKE_OWNERSHIP), 10, TAKE_OWNERSHIP);