



Bits error versus x




Bits error versus y
| Original | 0.3 |
|---|---|
| Target | 0.1 |
| Herbie | 0.4 |
Initial program 0.3
rmApplied flip3-+0.3
Applied log-div0.3
Applied associate--l-0.3
Applied simplify0.3
pow expressions.Applied simplify0.4
Time bar (total: 33.2s)Debug log
herbie shell --seed '#(3839645869 2681072915 4128260615 1960373807 1759250524 63511647)'
(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)))