Logistic regression 2

Time bar (total: 1.4s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage

analyze83.0ms (5.9%)

Memory
-6.3MiB live, 148.8MiB allocated; 26ms collecting garbage
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 11 to 8 computations (27.3% saved)

sample1.0s (73.2%)

Memory
35.8MiB live, 1 700.0MiB allocated; 197ms collecting garbage
Samples
443.0ms8 256×0valid
225.0ms2 692×1exit
Precisions
Click to see histograms. Total time spent on operations: 409.0ms
ival-log1p: 147.0ms (35.9% of total)
ival-exp: 99.0ms (24.2% of total)
ival-mult!: 68.0ms (16.6% of total)
adjust: 50.0ms (12.2% of total)
ival-sub!: 44.0ms (10.8% of total)
Bogosity

explain114.0ms (8.1%)

Memory
-6.4MiB live, 143.6MiB allocated; 42ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
181(-1.107313475455474e+210 -8.446070869172628e+68)0-(log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x)))
00-0-(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
00-0-(+.f64 #s(literal 1 binary64) (exp.f64 x))
00-0-y
00-0-#s(literal 1 binary64)
00-0-(exp.f64 x)
00-0-(*.f64 x y)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
log.f64(log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x)))sensitivity810
log.f64(log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x)))oflow-rescue10
(exp.f64 x)overflow1
(+.f64 #s(literal 1 binary64) (exp.f64 x))overflow1
Confusion
Predicted +Predicted -
+10
-81174
Precision
0.012195121951219513
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+100
-810174
Precision?
0.012195121951219513
Recall?
1.0
Freqs
test
numberfreq
0174
182
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
52.0ms512×0valid
Compiler

Compiled 65 to 28 computations (56.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
ival-log1p: 5.0ms (34% of total)
ival-exp: 4.0ms (27.2% of total)
ival-mult!: 3.0ms (20.4% of total)
ival-sub!: 1.0ms (6.8% of total)
ival-add!: 1.0ms (6.8% of total)
adjust: 0.0ms (0% of total)

preprocess30.0ms (2.1%)

Memory
-25.0MiB live, 22.6MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02460
16558
215858
337458
4151358
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.6%
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
Compiler

Compiled 18 to 16 computations (11.1% saved)

rewrite56.0ms (4%)

Memory
40.4MiB live, 85.9MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0826
01326
15326
039922
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
8 → 52
Calls
Call 1
Inputs
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
(log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x)))
(+.f64 #s(literal 1 binary64) (exp.f64 x))
#s(literal 1 binary64)
(exp.f64 x)
x
(*.f64 x y)
y
Outputs
(/.f64 (+.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 3 binary64))) (+.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (log1p.f64 (exp.f64 x)) (*.f64 (neg.f64 x) y)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (neg.f64 (fma.f64 y x (log1p.f64 (exp.f64 x)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 y x) (fma.f64 y x (log1p.f64 (exp.f64 x))) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (fma.f64 y x (log1p.f64 (exp.f64 x))))
(/.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (*.f64 y x) (fma.f64 y x (log1p.f64 (exp.f64 x))) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64))))
(neg.f64 (-.f64 (*.f64 y x) (log1p.f64 (exp.f64 x))))
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x)))
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))
(fma.f64 y (neg.f64 x) (log1p.f64 (exp.f64 x)))
(fma.f64 x (neg.f64 y) (log1p.f64 (exp.f64 x)))
(-.f64 (/.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (fma.f64 y x (log1p.f64 (exp.f64 x)))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (fma.f64 y x (log1p.f64 (exp.f64 x)))))
(-.f64 (/.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (fma.f64 y x (log1p.f64 (exp.f64 x))) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (fma.f64 y x (log1p.f64 (exp.f64 x))) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)))))
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) y))
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 y x))
(+.f64 (*.f64 (neg.f64 x) y) (log1p.f64 (exp.f64 x)))
(+.f64 (log1p.f64 (exp.f64 x)) (*.f64 (neg.f64 x) y))
(log1p.f64 (exp.f64 x))
(-.f64 (log1p.f64 (neg.f64 (pow.f64 (exp.f64 x) #s(literal 2 binary64)))) (log.f64 (neg.f64 (expm1.f64 x))))
(-.f64 (log1p.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64))) (log1p.f64 (*.f64 (exp.f64 x) (expm1.f64 x))))
(log.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(/.f64 (neg.f64 (neg.f64 (expm1.f64 (+.f64 x x)))) (neg.f64 (neg.f64 (expm1.f64 x))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 (exp.f64 x) (expm1.f64 x) #s(literal 1 binary64))))
(/.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (neg.f64 (expm1.f64 x)))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (exp.f64 x) (exp.f64 x) (neg.f64 (expm1.f64 x))))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (exp.f64 x) (expm1.f64 x) #s(literal 1 binary64)))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) #s(literal 1 binary64))
(-.f64 (/.f64 #s(literal 1 binary64) (neg.f64 (expm1.f64 x))) (/.f64 (pow.f64 (exp.f64 x) #s(literal 2 binary64)) (neg.f64 (expm1.f64 x))))
(-.f64 (exp.f64 x) #s(literal -1 binary64))
(+.f64 (+.f64 #s(literal 1 binary64) (cosh.f64 x)) (sinh.f64 x))
(+.f64 (/.f64 #s(literal 1 binary64) (fma.f64 (exp.f64 x) (expm1.f64 x) #s(literal 1 binary64))) (/.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) (fma.f64 (exp.f64 x) (expm1.f64 x) #s(literal 1 binary64))))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 x) #s(literal 1 binary64)))
(+.f64 (exp.f64 x) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (exp.f64 x))
#s(literal 1 binary64)
(*.f64 (exp.f64 x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (exp.f64 x))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 x) (sinh.f64 x))) (-.f64 (cosh.f64 x) (sinh.f64 x)))
(/.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64))) (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 x) (sinh.f64 x)) (*.f64 (cosh.f64 x) (sinh.f64 x)))))
(fma.f64 (cosh.f64 x) #s(literal 1 binary64) (*.f64 (sinh.f64 x) #s(literal 1 binary64)))
(fma.f64 #s(literal 1 binary64) (cosh.f64 x) (*.f64 #s(literal 1 binary64) (sinh.f64 x)))
(exp.f64 (+.f64 #s(literal 0 binary64) x))
(exp.f64 x)
(+.f64 (*.f64 (cosh.f64 x) #s(literal 1 binary64)) (*.f64 (sinh.f64 x) #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) (cosh.f64 x)) (*.f64 #s(literal 1 binary64) (sinh.f64 x)))
(+.f64 (sinh.f64 x) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 x))
x
(*.f64 y x)
(*.f64 x y)
y

eval8.0ms (0.6%)

Memory
-33.7MiB live, 13.4MiB allocated; 2ms collecting garbage
Compiler

Compiled 701 to 191 computations (72.8% saved)

prune1.0ms (0.1%)

Memory
3.0MiB live, 3.0MiB allocated; 0ms collecting garbage
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New45146
Fresh000
Picked101
Done000
Total46147
Accuracy
99.6%
Counts
47 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.6%
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x)))
Compiler

Compiled 7 to 6 computations (14.3% saved)

rewrite54.0ms (3.8%)

Memory
16.4MiB live, 65.6MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0616
01316
14916
038716
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
6 → 35
Calls
Call 1
Inputs
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x)))
(neg.f64 y)
y
x
(log1p.f64 (exp.f64 x))
(exp.f64 x)
Outputs
(/.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (pow.f64 (*.f64 x (neg.f64 y)) #s(literal 2 binary64))) (-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x (neg.f64 y))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x (neg.f64 y)) #s(literal 2 binary64)) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 x (neg.f64 y)) (log1p.f64 (exp.f64 x)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 x (neg.f64 y)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (log1p.f64 (exp.f64 x)) (-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x (neg.f64 y))) (pow.f64 (*.f64 x (neg.f64 y)) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 x (neg.f64 y)) #s(literal 2 binary64)) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64))) (-.f64 (*.f64 x (neg.f64 y)) (log1p.f64 (exp.f64 x))))
(/.f64 (+.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 x (neg.f64 y)) #s(literal 3 binary64))) (+.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 x (neg.f64 y)) #s(literal 2 binary64)) (*.f64 (*.f64 x (neg.f64 y)) (log1p.f64 (exp.f64 x))))))
(/.f64 (+.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 x (neg.f64 y)) #s(literal 3 binary64))) (fma.f64 (log1p.f64 (exp.f64 x)) (-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x (neg.f64 y))) (pow.f64 (*.f64 x (neg.f64 y)) #s(literal 2 binary64))))
(fma.f64 x (neg.f64 y) (log1p.f64 (exp.f64 x)))
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x)))
(fma.f64 y (neg.f64 x) (log1p.f64 (exp.f64 x)))
(-.f64 (/.f64 (pow.f64 (*.f64 x (neg.f64 y)) #s(literal 2 binary64)) (-.f64 (*.f64 x (neg.f64 y)) (log1p.f64 (exp.f64 x)))) (/.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (-.f64 (*.f64 x (neg.f64 y)) (log1p.f64 (exp.f64 x)))))
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 (neg.f64 x) (neg.f64 y)))
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) x))
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
(+.f64 (/.f64 (pow.f64 (*.f64 x (neg.f64 y)) #s(literal 3 binary64)) (fma.f64 (log1p.f64 (exp.f64 x)) (-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x (neg.f64 y))) (pow.f64 (*.f64 x (neg.f64 y)) #s(literal 2 binary64)))) (/.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (fma.f64 (log1p.f64 (exp.f64 x)) (-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x (neg.f64 y))) (pow.f64 (*.f64 x (neg.f64 y)) #s(literal 2 binary64)))))
(+.f64 (*.f64 x (neg.f64 y)) (log1p.f64 (exp.f64 x)))
(+.f64 (log1p.f64 (exp.f64 x)) (*.f64 x (neg.f64 y)))
(neg.f64 y)
y
x
(log1p.f64 (exp.f64 x))
(-.f64 (log1p.f64 (neg.f64 (pow.f64 (exp.f64 x) #s(literal 2 binary64)))) (log.f64 (neg.f64 (expm1.f64 x))))
(-.f64 (log1p.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64))) (log1p.f64 (*.f64 (exp.f64 x) (expm1.f64 x))))
(log.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(*.f64 #s(literal 1 binary64) (exp.f64 x))
(*.f64 (exp.f64 x) #s(literal 1 binary64))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 x) (sinh.f64 x))) (-.f64 (cosh.f64 x) (sinh.f64 x)))
(/.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64))) (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 x) (sinh.f64 x)) (*.f64 (cosh.f64 x) (sinh.f64 x)))))
(fma.f64 (cosh.f64 x) #s(literal 1 binary64) (*.f64 (sinh.f64 x) #s(literal 1 binary64)))
(fma.f64 #s(literal 1 binary64) (cosh.f64 x) (*.f64 #s(literal 1 binary64) (sinh.f64 x)))
(exp.f64 (+.f64 #s(literal 0 binary64) x))
(exp.f64 x)
(+.f64 (*.f64 (cosh.f64 x) #s(literal 1 binary64)) (*.f64 (sinh.f64 x) #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) (cosh.f64 x)) (*.f64 #s(literal 1 binary64) (sinh.f64 x)))
(+.f64 (sinh.f64 x) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 x))

eval3.0ms (0.2%)

Memory
7.9MiB live, 7.9MiB allocated; 0ms collecting garbage
Compiler

Compiled 492 to 119 computations (75.8% saved)

prune2.0ms (0.1%)

Memory
3.0MiB live, 3.0MiB allocated; 0ms collecting garbage
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New29029
Fresh000
Picked011
Done000
Total29130
Accuracy
99.6%
Counts
30 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.6%
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x)))
Compiler

Compiled 23 to 17 computations (26.1% saved)

regimes4.0ms (0.3%)

Memory
10.8MiB live, 10.8MiB allocated; 0ms collecting garbage
Accuracy

Total -0.0b remaining (-1.6%)

Threshold costs -0b (-1.6%)

Counts
2 → 1
Calls
Call 1
Inputs
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x)))
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
Outputs
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x)))
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
99.6%1(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
99.6%1x
99.6%1y
Compiler

Compiled 11 to 12 computations (-9.1% saved)

derivations5.0ms (0.4%)

Memory
-44.4MiB live, 3.0MiB allocated; 2ms collecting garbage
Stop Event
done
Compiler

Compiled 7 to 6 computations (14.3% saved)

preprocess18.0ms (1.3%)

Memory
37.9MiB live, 37.9MiB allocated; 0ms collecting garbage
Compiler

Compiled 84 to 64 computations (23.8% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...