



Bits error versus x




Bits error versus y
| Original | 0.4 |
|---|---|
| Target | 0.1 |
| Herbie | 0.9 |
Initial program 0.4
rmApplied add-sqr-sqrt1.3
Applied log-prod0.9
Time bar (total: 22.9s)Debug logProfile
herbie shell --seed '#(1071501266 3581234924 1086666455 2685055582 1243441566 1802958749)'
(FPCore (x y)
:name "Logistic regression 2"
:herbie-target
(if (<= x 0) (- (log (+ 1 (exp x))) (* x y)) (- (log (+ 1 (exp (- x)))) (* (- x) (- 1 y))))
(- (log (+ 1 (exp x))) (* x y)))