-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCheckNN.py
More file actions
29 lines (26 loc) · 1.04 KB
/
CheckNN.py
File metadata and controls
29 lines (26 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Thetas1 = [[8348.56766052, -35286.61239069, 17758.42146798,
14357.56834316, 14465.82293889, 25206.82372175,
29848.93689777, -2082.17700246, 10275.16605838,
-27204.46979007],
[15781.35878497, 45277.22097922, -35906.43463524,
5243.487295, -11312.92324235, -28310.66731449,
14359.25221052, 28412.39487104, 7034.56326852,
-11828.42906929],
[41127.03559305, -10880.15447024, -29377.00195269,
-5684.61534786, -18382.59284866, -32118.14858872,
16283.15865852, -4497.365024, 22282.6617174,
11623.38691086]]
Thetas2 = [11118.87173035, 106147.91066119, 78540.07595135,
-46361.90073825]
input = [1., -0.53342502, -0.25794512, 1., 0.10989064, -0.60490345,
-0.5042304, -0.49967092, 0.29419324, -0.00643394]
total = 0
for i in range(len(input)):
total += input[i] * Thetas1[2][i]
print(total)
#1
#12477.74190289895-1
#2725.1745117585447-1
#66749.48833889191-1
from scipy.special import expit
print(expit(66749.48833889191))