Logo ROOT   6.16/01
Reference Guide
test.py
Go to the documentation of this file.
1from math import exp
2
3from math import tanh
4
5class test:
6 def value(self,index,in0,in1,in2):
7 self.input0input0 = (in0 - 0.459987)/0.0509152
8 self.input1input1 = (in1 - 0.188581)/0.0656804
9 self.input2input2 = (in2 - 134.719)/16.5033
10 if index==0: return self.neuron0x5599b54eac60();
11 return 0.
12 def neuron0x5599b4adea70(self):
13 return self.input0input0
14 def neuron0x5599b49da800(self):
15 return self.input1input1
16 def neuron0x5599b497eeb0(self):
17 return self.input2input2
18 def neuron0x5599b40585b0(self):
19 input = -2.02312
20 input = input + self.synapse0x5599b54e9a20()
21 input = input + self.synapse0x5599b54e8ad0()
22 input = input + self.synapse0x5599b54e8b10()
23 if input<-709. : return 0
24 return ((1/(1+exp(-input)))*1)+0
25 def neuron0x5599b4806eb0(self):
26 input = -1.00848
27 input = input + self.synapse0x5599b54e8d00()
28 input = input + self.synapse0x5599b54e8d40()
29 input = input + self.synapse0x5599b54e8d80()
30 if input<-709. : return 0
31 return ((1/(1+exp(-input)))*1)+0
32 def neuron0x5599b4807bf0(self):
33 input = -1.38476
34 input = input + self.synapse0x5599b54e8f70()
35 input = input + self.synapse0x5599b54e8fb0()
36 input = input + self.synapse0x5599b54e8ff0()
37 if input<-709. : return 0
38 return ((1/(1+exp(-input)))*1)+0
39 def neuron0x5599b4389f70(self):
40 input = -0.910381
41 input = input + self.synapse0x5599b54e9150()
42 input = input + self.synapse0x5599b54e9af0()
43 input = input + self.synapse0x5599b54e9b30()
44 if input<-709. : return 0
45 return ((1/(1+exp(-input)))*1)+0
46 def neuron0x5599b54e9b70(self):
47 input = 1.35209
48 input = input + self.synapse0x5599b54e9eb0()
49 input = input + self.synapse0x5599b54e9ef0()
50 input = input + self.synapse0x5599b54e9f30()
51 if input<-709. : return 0
52 return ((1/(1+exp(-input)))*1)+0
53 def neuron0x5599b54e9f70(self):
54 input = 0.112503
55 input = input + self.synapse0x5599b54ea2b0()
56 input = input + self.synapse0x5599b54ea2f0()
57 input = input + self.synapse0x5599b54ea330()
58 input = input + self.synapse0x5599b54ea370()
59 input = input + self.synapse0x5599b54ea3b0()
60 if input<-709. : return 0
61 return ((1/(1+exp(-input)))*1)+0
62 def neuron0x5599b54ea3f0(self):
63 input = 0.621931
64 input = input + self.synapse0x5599b54ea6a0()
65 input = input + self.synapse0x5599b54ea6e0()
66 input = input + self.synapse0x5599b54ea720()
67 input = input + self.synapse0x5599b54ea760()
68 input = input + self.synapse0x5599b54ea7a0()
69 if input<-709. : return 0
70 return ((1/(1+exp(-input)))*1)+0
71 def neuron0x5599b54ea7e0(self):
72 input = -0.128771
73 input = input + self.synapse0x5599b54eab20()
74 input = input + self.synapse0x5599b54eab60()
75 input = input + self.synapse0x5599b54eaba0()
76 input = input + self.synapse0x5599b54eabe0()
77 input = input + self.synapse0x5599b54eac20()
78 if input<-709. : return 0
79 return ((1/(1+exp(-input)))*1)+0
80 def neuron0x5599b54eac60(self):
81 input = 0.462044
82 input = input + self.synapse0x5599b54eafa0()
83 input = input + self.synapse0x5599b54eafe0()
84 input = input + self.synapse0x5599b54eb020()
85 return (input*1)+0
86 def synapse0x5599b54e9a20(self):
87 return (self.neuron0x5599b4adea70()*-0.0361312)
88 def synapse0x5599b54e8ad0(self):
89 return (self.neuron0x5599b49da800()*-2.34667)
90 def synapse0x5599b54e8b10(self):
91 return (self.neuron0x5599b497eeb0()*1.84041)
92 def synapse0x5599b54e8d00(self):
93 return (self.neuron0x5599b4adea70()*0.439582)
94 def synapse0x5599b54e8d40(self):
95 return (self.neuron0x5599b49da800()*0.613526)
96 def synapse0x5599b54e8d80(self):
97 return (self.neuron0x5599b497eeb0()*-1.37408)
98 def synapse0x5599b54e8f70(self):
99 return (self.neuron0x5599b4adea70()*0.0258132)
100 def synapse0x5599b54e8fb0(self):
101 return (self.neuron0x5599b49da800()*0.755733)
102 def synapse0x5599b54e8ff0(self):
103 return (self.neuron0x5599b497eeb0()*2.69909)
104 def synapse0x5599b54e9150(self):
105 return (self.neuron0x5599b4adea70()*1.58686)
106 def synapse0x5599b54e9af0(self):
107 return (self.neuron0x5599b49da800()*-0.271177)
108 def synapse0x5599b54e9b30(self):
109 return (self.neuron0x5599b497eeb0()*-2.66153)
110 def synapse0x5599b54e9eb0(self):
111 return (self.neuron0x5599b4adea70()*-0.615143)
112 def synapse0x5599b54e9ef0(self):
113 return (self.neuron0x5599b49da800()*1.98267)
114 def synapse0x5599b54e9f30(self):
115 return (self.neuron0x5599b497eeb0()*-2.57555)
116 def synapse0x5599b54ea2b0(self):
117 return (self.neuron0x5599b40585b0()*0.0702132)
118 def synapse0x5599b54ea2f0(self):
119 return (self.neuron0x5599b4806eb0()*1.59028)
120 def synapse0x5599b54ea330(self):
121 return (self.neuron0x5599b4807bf0()*-1.21462)
122 def synapse0x5599b54ea370(self):
123 return (self.neuron0x5599b4389f70()*-1.93856)
124 def synapse0x5599b54ea3b0(self):
125 return (self.neuron0x5599b54e9b70()*-1.98387)
126 def synapse0x5599b54ea6a0(self):
127 return (self.neuron0x5599b40585b0()*-0.554127)
128 def synapse0x5599b54ea6e0(self):
129 return (self.neuron0x5599b4806eb0()*-0.052779)
130 def synapse0x5599b54ea720(self):
131 return (self.neuron0x5599b4807bf0()*0.693452)
132 def synapse0x5599b54ea760(self):
133 return (self.neuron0x5599b4389f70()*1.10068)
134 def synapse0x5599b54ea7a0(self):
135 return (self.neuron0x5599b54e9b70()*1.81869)
136 def synapse0x5599b54eab20(self):
137 return (self.neuron0x5599b40585b0()*-0.174651)
138 def synapse0x5599b54eab60(self):
139 return (self.neuron0x5599b4806eb0()*0.218424)
140 def synapse0x5599b54eaba0(self):
141 return (self.neuron0x5599b4807bf0()*-0.607388)
142 def synapse0x5599b54eabe0(self):
143 return (self.neuron0x5599b4389f70()*0.32118)
144 def synapse0x5599b54eac20(self):
145 return (self.neuron0x5599b54e9b70()*-0.860823)
146 def synapse0x5599b54eafa0(self):
147 return (self.neuron0x5599b54e9f70()*2.39609)
148 def synapse0x5599b54eafe0(self):
149 return (self.neuron0x5599b54ea3f0()*-0.811587)
150 def synapse0x5599b54eb020(self):
151 return (self.neuron0x5599b54ea7e0()*0.313128)
double exp(double)
Definition: test.py:5
def value(self, index, in0, in1, in2)
Definition: test.py:6
input2
Definition: test.py:9
input0
Definition: test.py:7
input1
Definition: test.py:8