



Bits error versus x




Bits error versus y
| Original | 0.5 |
|---|---|
| Comparison | 0.1 |
| Herbie | 0.5 |
Initial program 0.5
Time bar (total: 6.6s) Debug logProfile
Please include this information when filing a bug report:
herbie shell --seed '#(1064524629 4159152179 2999149171 575749698 4006532819 692958815)'
(FPCore (x y)
:name "Logistic regression 2"
:target
(if (<= x 0) (- (log (+ 1 (exp x))) (* x y)) (- (log (+ 1 (exp (- x)))) (* (- x) (- 1 y))))
(- (log (+ 1 (exp x))) (* x y)))