



Bits error versus x




Bits error versus y
| Original | 0.4 |
|---|---|
| Target | 0.0 |
| Herbie | 0.5 |
Initial program 0.4
rmApplied flip3-+0.5
Applied log-div0.5
Applied associate--l-0.5
Applied simplify0.5
Time bar (total: 38.2s)Debug logProfile
herbie shell --seed '#(1070258749 1877548225 2229079127 1588002776 3179087814 1886870650)'
(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)))