Logistic regression 2

Time bar (total: 4.3s)

analyze94.0ms (2.2%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
50%50%50%0.1%0%0%0%2
50%50%50%0.1%0%0%0%3
75%74.9%25%0.1%0%0%0%4
75%74.9%25%0.1%0%0%0%5
75%74.9%25%0.1%0%0%0%6
75%74.9%25%0.1%0%0%0%7
75%74.9%25%0.1%0%0%0%8
75%74.9%25%0.1%0%0%0%9
75%74.9%25%0.1%0%0%0%10
75%74.9%25%0.1%0%0%0%11
75%74.9%25%0.1%0%0%0%12
Compiler

Compiled 12 to 9 computations (25% saved)

Precisions
Click to see histograms. Total time spent on operations: 41.0ms
Operation ival-log, time spent: 12.0ms, 30.0% of total-time
Operation ival-exp, time spent: 8.0ms, 20.0% of total-time
Operation ival-mult, time spent: 8.0ms, 20.0% of total-time
Operation ival-add, time spent: 6.0ms, 15.0% of total-time
Operation ival-sub, time spent: 5.0ms, 12.0% of total-time
Operation const, time spent: 2.0ms, 5.0% of total-time

sample3.5s (81.4%)

Results
980.0ms7117×256valid
2.0s2627×8192exit
107.0ms706×256infinite
68.0ms244×512valid
88.0ms187×1024valid
0.0ms256valid
1.0ms2048valid
Precisions
Click to see histograms. Total time spent on operations: 2.0s
Operation ival-log, time spent: 1.3s, 64.0% of total-time
Operation ival-mult, time spent: 207.0ms, 10.0% of total-time
Operation ival-exp, time spent: 194.0ms, 10.0% of total-time
Operation ival-add, time spent: 163.0ms, 8.0% of total-time
Operation ival-sub, time spent: 135.0ms, 7.0% of total-time
Operation const, time spent: 44.0ms, 2.0% of total-time
Bogosity

preprocess477.0ms (11.1%)

Algorithm
egg-herbie
Rules
188×fma-define
147×fmm-def
44×cancel-sign-sub-inv
36×sub-neg
32×distribute-rgt-in
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
10-0-(log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x)))
00-0-x
00-0-(*.f64 x y)
00-0-(exp.f64 x)
00-0-#s(literal 1 binary64)
00-0-y
00-0-(+.f64 #s(literal 1 binary64) (exp.f64 x))
00-0-(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
030234
173226
2129210
3282210
4434210
5622210
6763210
7877210
8905210
9907210
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)))) (*.f64 (neg.f64 x) y))
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x (neg.f64 y)))
(neg.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)))) (*.f64 (neg.f64 x) y)))
(neg.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x (neg.f64 y))))
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 y))) (*.f64 y x))
Outputs
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
(fma.f64 x (neg.f64 y) (log1p.f64 (exp.f64 x)))
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
(fma.f64 x (neg.f64 y) (log1p.f64 (exp.f64 x)))
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)))) (*.f64 (neg.f64 x) y))
(+.f64 (log1p.f64 (exp.f64 (neg.f64 x))) (*.f64 x y))
(+.f64 (*.f64 x y) (log1p.f64 (exp.f64 (neg.f64 x))))
(fma.f64 x y (log1p.f64 (exp.f64 (neg.f64 x))))
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x (neg.f64 y)))
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x (neg.f64 y)))
(+.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
(fma.f64 x y (log1p.f64 (exp.f64 x)))
(neg.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)))) (*.f64 (neg.f64 x) y)))
(neg.f64 (+.f64 (log1p.f64 (exp.f64 (neg.f64 x))) (*.f64 x y)))
(neg.f64 (+.f64 (*.f64 x y) (log1p.f64 (exp.f64 (neg.f64 x)))))
(neg.f64 (fma.f64 x y (log1p.f64 (exp.f64 (neg.f64 x)))))
(neg.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x (neg.f64 y))))
(neg.f64 (-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x (neg.f64 y))))
(neg.f64 (+.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y)))
(neg.f64 (fma.f64 x y (log1p.f64 (exp.f64 x))))
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 y))) (*.f64 y x))
(-.f64 (log1p.f64 (exp.f64 y)) (*.f64 x y))
(fma.f64 x (neg.f64 y) (log1p.f64 (exp.f64 y)))
Compiler

Compiled 69 to 38 computations (44.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 283.0ms
Operation ival-log, time spent: 231.0ms, 81.0% of total-time
Operation ival-add, time spent: 21.0ms, 7.0% of total-time
Operation ival-mult, time spent: 11.0ms, 4.0% of total-time
Operation ival-exp, time spent: 10.0ms, 4.0% of total-time
Operation ival-sub, time spent: 6.0ms, 2.0% of total-time
Operation const, time spent: 4.0ms, 1.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 16 to 8 computations (50% saved)

prune1.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
Compiler

Compiled 9 to 6 computations (33.3% saved)

localize118.0ms (2.7%)

Compiler

Compiled 20 to 7 computations (65% saved)

Precisions
Click to see histograms. Total time spent on operations: 144.0ms
Operation composed, time spent: 66.0ms, 46.0% of total-time
Operation ival-log, time spent: 60.0ms, 42.0% of total-time
Operation ival-sub, time spent: 6.0ms, 4.0% of total-time
Operation ival-mult, time spent: 5.0ms, 3.0% of total-time
Operation ival-exp, time spent: 4.0ms, 3.0% of total-time
Operation ival-add, time spent: 3.0ms, 2.0% of total-time
Operation const, time spent: 1.0ms, 1.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Accuracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
Compiler

Compiled 27 to 16 computations (40.7% saved)

regimes4.0ms (0.1%)

Accuracy

Total -0.0b remaining (-∞%)

Threshold costs -0b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
Outputs
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
Calls

3 calls:

1.0ms
y
1.0ms
x
1.0ms
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
Compiler

Compiled 17 to 12 computations (29.4% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
sub-neg
*-commutative
+-commutative
neg-sub0
neg-mul-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01230
11830
23030
33630
44030
54130
Stop Event
done
saturated
Calls
Call 1
Inputs
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
Outputs
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
Compiler

Compiled 9 to 6 computations (33.3% saved)

soundness60.0ms (1.4%)

Rules
188×fma-define
147×fmm-def
44×cancel-sign-sub-inv
36×sub-neg
32×distribute-rgt-in
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
030234
173226
2129210
3282210
4434210
5622210
6763210
7877210
8905210
9907210
Stop Event
saturated
Compiler

Compiled 18 to 10 computations (44.4% saved)

end0.0ms (0%)

preprocess39.0ms (0.9%)

Compiler

Compiled 96 to 68 computations (29.2% saved)

Profiling

Loading profile data...