



Bits error versus x




Bits error versus y
| Original | 0.4 |
|---|---|
| Target | 0.0 |
| Herbie | 0.4 |
Initial program 0.4
Applied simplify0.4
Time bar (total: 6.3s)Debug logProfile
herbie shell --seed '#(1072330854 3074818769 591214268 3603999196 3863745332 3332387116)' +o rules:numerics
(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)))