Logo ROOT   6.12/07
Reference Guide
test.py
Go to the documentation of this file.
1 from math import exp
2 
3 from math import tanh
4 
5 class test:
6  def value(self,index,in0,in1,in2):
7  self.input0 = (in0 - 0.459987)/0.0509152
8  self.input1 = (in1 - 0.188581)/0.0656804
9  self.input2 = (in2 - 134.719)/16.5033
10  if index==0: return self.neuron0x38ce840();
11  return 0.
12  def neuron0x3538410(self):
13  return self.input0
14  def neuron0x3538750(self):
15  return self.input1
16  def neuron0x3538a90(self):
17  return self.input2
18  def neuron0x3538f00(self):
19  input = -4.07377
20  input = input + self.synapse0x35392f0()
21  input = input + self.synapse0x35391b0()
22  input = input + self.synapse0x35391f0()
23  if input<-709. : return 0
24  return ((1/(1+exp(-input)))*1)+0
25  def neuron0x38cca70(self):
26  input = -3.19972
27  input = input + self.synapse0x38ccdb0()
28  input = input + self.synapse0x38ccdf0()
29  input = input + self.synapse0x38cce30()
30  if input<-709. : return 0
31  return ((1/(1+exp(-input)))*1)+0
32  def neuron0x38cce70(self):
33  input = 2.1993
34  input = input + self.synapse0x38cd1b0()
35  input = input + self.synapse0x38cd1f0()
36  input = input + self.synapse0x38cd230()
37  if input<-709. : return 0
38  return ((1/(1+exp(-input)))*1)+0
39  def neuron0x38cd270(self):
40  input = -0.823911
41  input = input + self.synapse0x38cd5b0()
42  input = input + self.synapse0x38cd5f0()
43  input = input + self.synapse0x38cd630()
44  if input<-709. : return 0
45  return ((1/(1+exp(-input)))*1)+0
46  def neuron0x38cd670(self):
47  input = -0.449609
48  input = input + self.synapse0x38cd9b0()
49  input = input + self.synapse0x38cd9f0()
50  input = input + self.synapse0x38cda30()
51  if input<-709. : return 0
52  return ((1/(1+exp(-input)))*1)+0
53  def neuron0x38cda70(self):
54  input = -0.229621
55  input = input + self.synapse0x38cddb0()
56  input = input + self.synapse0x38cddf0()
57  input = input + self.synapse0x3539330()
58  input = input + self.synapse0x3539230()
59  input = input + self.synapse0x3535a10()
60  if input<-709. : return 0
61  return ((1/(1+exp(-input)))*1)+0
62  def neuron0x38cdf40(self):
63  input = 0.0199599
64  input = input + self.synapse0x38ce280()
65  input = input + self.synapse0x38ce2c0()
66  input = input + self.synapse0x38ce300()
67  input = input + self.synapse0x38ce340()
68  input = input + self.synapse0x38ce380()
69  if input<-709. : return 0
70  return ((1/(1+exp(-input)))*1)+0
71  def neuron0x38ce3c0(self):
72  input = 0.958854
73  input = input + self.synapse0x38ce700()
74  input = input + self.synapse0x38ce740()
75  input = input + self.synapse0x38ce780()
76  input = input + self.synapse0x38ce7c0()
77  input = input + self.synapse0x38ce800()
78  if input<-709. : return 0
79  return ((1/(1+exp(-input)))*1)+0
80  def neuron0x38ce840(self):
81  input = 1.79872
82  input = input + self.synapse0x38ceb80()
83  input = input + self.synapse0x38cebc0()
84  input = input + self.synapse0x38cec00()
85  return (input*1)+0
86  def synapse0x35392f0(self):
87  return (self.neuron0x3538410()*-2.97158)
88  def synapse0x35391b0(self):
89  return (self.neuron0x3538750()*0.252437)
90  def synapse0x35391f0(self):
91  return (self.neuron0x3538a90()*0.472958)
92  def synapse0x38ccdb0(self):
93  return (self.neuron0x3538410()*5.8576)
94  def synapse0x38ccdf0(self):
95  return (self.neuron0x3538750()*2.93212)
96  def synapse0x38cce30(self):
97  return (self.neuron0x3538a90()*-1.71774)
98  def synapse0x38cd1b0(self):
99  return (self.neuron0x3538410()*-0.639133)
100  def synapse0x38cd1f0(self):
101  return (self.neuron0x3538750()*4.02102)
102  def synapse0x38cd230(self):
103  return (self.neuron0x3538a90()*-2.57569)
104  def synapse0x38cd5b0(self):
105  return (self.neuron0x3538410()*-0.573809)
106  def synapse0x38cd5f0(self):
107  return (self.neuron0x3538750()*2.71766)
108  def synapse0x38cd630(self):
109  return (self.neuron0x3538a90()*-2.55695)
110  def synapse0x38cd9b0(self):
111  return (self.neuron0x3538410()*-0.476845)
112  def synapse0x38cd9f0(self):
113  return (self.neuron0x3538750()*-1.09407)
114  def synapse0x38cda30(self):
115  return (self.neuron0x3538a90()*0.685565)
116  def synapse0x38cddb0(self):
117  return (self.neuron0x3538f00()*-1.18138)
118  def synapse0x38cddf0(self):
119  return (self.neuron0x38cca70()*-0.841912)
120  def synapse0x3539330(self):
121  return (self.neuron0x38cce70()*-1.39631)
122  def synapse0x3539230(self):
123  return (self.neuron0x38cd270()*-1.53836)
124  def synapse0x3535a10(self):
125  return (self.neuron0x38cd670()*-0.297234)
126  def synapse0x38ce280(self):
127  return (self.neuron0x3538f00()*-1.27428)
128  def synapse0x38ce2c0(self):
129  return (self.neuron0x38cca70()*0.969767)
130  def synapse0x38ce300(self):
131  return (self.neuron0x38cce70()*1.97903)
132  def synapse0x38ce340(self):
133  return (self.neuron0x38cd270()*-0.184287)
134  def synapse0x38ce380(self):
135  return (self.neuron0x38cd670()*0.644853)
136  def synapse0x38ce700(self):
137  return (self.neuron0x3538f00()*-0.0678871)
138  def synapse0x38ce740(self):
139  return (self.neuron0x38cca70()*-1.32331)
140  def synapse0x38ce780(self):
141  return (self.neuron0x38cce70()*-1.7276)
142  def synapse0x38ce7c0(self):
143  return (self.neuron0x38cd270()*0.0107786)
144  def synapse0x38ce800(self):
145  return (self.neuron0x38cd670()*0.536521)
146  def synapse0x38ceb80(self):
147  return (self.neuron0x38cda70()*1.61854)
148  def synapse0x38cebc0(self):
149  return (self.neuron0x38cdf40()*-1.89659)
150  def synapse0x38cec00(self):
151  return (self.neuron0x38ce3c0()*-0.517053)
input2
Definition: test.py:9
input0
Definition: test.py:7
Definition: test.py:5
def value(self, index, in0, in1, in2)
Definition: test.py:6
input1
Definition: test.py:8
double exp(double)