ROOT
6.07/01
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
tutorials
pyroot
test.py
Go to the documentation of this file.
1
from
cmath
import
exp
2
3
from
cmath
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.
neuron0xad38cb8
()*1)+0);
11
return
0.
12
def
neuron0xad37278
(self):
13
return
self.
input0
14
def
neuron0xad37408
(self):
15
return
self.
input1
16
def
neuron0xad375e0
(self):
17
return
self.
input2
18
def
neuron0xad378d8
(self):
19
input = -0.125959
20
input = input + self.
synapse0xad3c090
()
21
input = input + self.
synapse0xad37a68
()
22
input = input + self.
synapse0xad37a90
()
23
return
((1/(1+
exp
(-input)))*1)+0
24
def
neuron0xad37ab8
(self):
25
input = -1.28521
26
input = input + self.
synapse0xad37c90
()
27
input = input + self.
synapse0xad37cb8
()
28
input = input + self.
synapse0xad37ce0
()
29
return
((1/(1+
exp
(-input)))*1)+0
30
def
neuron0xad37d08
(self):
31
input = 0.869267
32
input = input + self.
synapse0xad37ee0
()
33
input = input + self.
synapse0xad37f08
()
34
input = input + self.
synapse0xad37f30
()
35
return
((1/(1+
exp
(-input)))*1)+0
36
def
neuron0xad37f58
(self):
37
input = -0.244184
38
input = input + self.
synapse0xad38150
()
39
input = input + self.
synapse0xad38178
()
40
input = input + self.
synapse0xad381a0
()
41
return
((1/(1+
exp
(-input)))*1)+0
42
def
neuron0xad381c8
(self):
43
input = 0.264279
44
input = input + self.
synapse0xad383c0
()
45
input = input + self.
synapse0xad383e8
()
46
input = input + self.
synapse0xad38410
()
47
return
((1/(1+
exp
(-input)))*1)+0
48
def
neuron0xad38460
(self):
49
input = -0.460612
50
input = input + self.
synapse0xad38438
()
51
input = input + self.
synapse0xad38658
()
52
input = input + self.
synapse0xad38708
()
53
input = input + self.
synapse0xad38730
()
54
input = input + self.
synapse0xad38758
()
55
return
((1/(1+
exp
(-input)))*1)+0
56
def
neuron0xad38780
(self):
57
input = 1.34716
58
input = input + self.
synapse0xad38930
()
59
input = input + self.
synapse0xad38958
()
60
input = input + self.
synapse0xad38980
()
61
input = input + self.
synapse0xad389a8
()
62
input = input + self.
synapse0xad389d0
()
63
return
((1/(1+
exp
(-input)))*1)+0
64
def
neuron0xad389f8
(self):
65
input = -0.550286
66
input = input + self.
synapse0xad38bf0
()
67
input = input + self.
synapse0xad38c18
()
68
input = input + self.
synapse0xad38c40
()
69
input = input + self.
synapse0xad38c68
()
70
input = input + self.
synapse0xad38c90
()
71
return
((1/(1+
exp
(-input)))*1)+0
72
def
neuron0xad38cb8
(self):
73
input = -0.960531
74
input = input + self.
synapse0xad38eb0
()
75
input = input + self.
synapse0xad38ed8
()
76
input = input + self.
synapse0xad38f00
()
77
return
(input*1)+0
78
def
synapse0xad3c090
(self):
79
return
(self.
neuron0xad37278
()*1.6232)
80
def
synapse0xad37a68
(self):
81
return
(self.
neuron0xad37408
()*-1.0136)
82
def
synapse0xad37a90
(self):
83
return
(self.
neuron0xad375e0
()*-0.539065)
84
def
synapse0xad37c90
(self):
85
return
(self.
neuron0xad37278
()*0.264157)
86
def
synapse0xad37cb8
(self):
87
return
(self.
neuron0xad37408
()*-2.25461)
88
def
synapse0xad37ce0
(self):
89
return
(self.
neuron0xad375e0
()*1.94399)
90
def
synapse0xad37ee0
(self):
91
return
(self.
neuron0xad37278
()*0.0608883)
92
def
synapse0xad37f08
(self):
93
return
(self.
neuron0xad37408
()*-0.0482581)
94
def
synapse0xad37f30
(self):
95
return
(self.
neuron0xad375e0
()*-1.07958)
96
def
synapse0xad38150
(self):
97
return
(self.
neuron0xad37278
()*-0.0811102)
98
def
synapse0xad38178
(self):
99
return
(self.
neuron0xad37408
()*-2.58659)
100
def
synapse0xad381a0
(self):
101
return
(self.
neuron0xad375e0
()*1.56508)
102
def
synapse0xad383c0
(self):
103
return
(self.
neuron0xad37278
()*-0.770005)
104
def
synapse0xad383e8
(self):
105
return
(self.
neuron0xad37408
()*0.388095)
106
def
synapse0xad38410
(self):
107
return
(self.
neuron0xad375e0
()*0.619588)
108
def
synapse0xad38438
(self):
109
return
(self.
neuron0xad378d8
()*0.695049)
110
def
synapse0xad38658
(self):
111
return
(self.
neuron0xad37ab8
()*0.400539)
112
def
synapse0xad38708
(self):
113
return
(self.
neuron0xad37d08
()*0.631674)
114
def
synapse0xad38730
(self):
115
return
(self.
neuron0xad37f58
()*-0.66193)
116
def
synapse0xad38758
(self):
117
return
(self.
neuron0xad381c8
()*1.00913)
118
def
synapse0xad38930
(self):
119
return
(self.
neuron0xad378d8
()*-0.182205)
120
def
synapse0xad38958
(self):
121
return
(self.
neuron0xad37ab8
()*-0.920062)
122
def
synapse0xad38980
(self):
123
return
(self.
neuron0xad37d08
()*-0.464498)
124
def
synapse0xad389a8
(self):
125
return
(self.
neuron0xad37f58
()*-0.222692)
126
def
synapse0xad389d0
(self):
127
return
(self.
neuron0xad381c8
()*-0.546376)
128
def
synapse0xad38bf0
(self):
129
return
(self.
neuron0xad378d8
()*-0.446571)
130
def
synapse0xad38c18
(self):
131
return
(self.
neuron0xad37ab8
()*2.22403)
132
def
synapse0xad38c40
(self):
133
return
(self.
neuron0xad37d08
()*1.02097)
134
def
synapse0xad38c68
(self):
135
return
(self.
neuron0xad37f58
()*-2.35373)
136
def
synapse0xad38c90
(self):
137
return
(self.
neuron0xad381c8
()*4.67134)
138
def
synapse0xad38eb0
(self):
139
return
(self.
neuron0xad38460
()*4.18467)
140
def
synapse0xad38ed8
(self):
141
return
(self.
neuron0xad38780
()*-4.31992)
142
def
synapse0xad38f00
(self):
143
return
(self.
neuron0xad389f8
()*0.916293)
test.test.neuron0xad375e0
def neuron0xad375e0
Definition:
test.py:16
test.test.synapse0xad38eb0
def synapse0xad38eb0
Definition:
test.py:138
test.test.neuron0xad37f58
def neuron0xad37f58
Definition:
test.py:36
test.test.synapse0xad37a68
def synapse0xad37a68
Definition:
test.py:80
test.test.synapse0xad38730
def synapse0xad38730
Definition:
test.py:114
test.test.synapse0xad383e8
def synapse0xad383e8
Definition:
test.py:104
test.test.neuron0xad38460
def neuron0xad38460
Definition:
test.py:48
test.test.synapse0xad38c68
def synapse0xad38c68
Definition:
test.py:134
test.test.input2
input2
Definition:
test.py:9
test.test.neuron0xad37278
def neuron0xad37278
Definition:
test.py:12
test.test.input0
input0
Definition:
test.py:7
test.test.neuron0xad37d08
def neuron0xad37d08
Definition:
test.py:30
test.test.neuron0xad381c8
def neuron0xad381c8
Definition:
test.py:42
test.test.synapse0xad383c0
def synapse0xad383c0
Definition:
test.py:102
test.test.synapse0xad37cb8
def synapse0xad37cb8
Definition:
test.py:86
test.test.neuron0xad38cb8
def neuron0xad38cb8
Definition:
test.py:72
test.test.neuron0xad389f8
def neuron0xad389f8
Definition:
test.py:64
test.test.synapse0xad38c18
def synapse0xad38c18
Definition:
test.py:130
test.test.synapse0xad38178
def synapse0xad38178
Definition:
test.py:98
test.test.synapse0xad38980
def synapse0xad38980
Definition:
test.py:122
test.test.synapse0xad38758
def synapse0xad38758
Definition:
test.py:116
test.test.neuron0xad38780
def neuron0xad38780
Definition:
test.py:56
test.test.synapse0xad389d0
def synapse0xad389d0
Definition:
test.py:126
test.test.neuron0xad37ab8
def neuron0xad37ab8
Definition:
test.py:24
test.test.synapse0xad38150
def synapse0xad38150
Definition:
test.py:96
test.test.synapse0xad37f30
def synapse0xad37f30
Definition:
test.py:94
test.test.synapse0xad38ed8
def synapse0xad38ed8
Definition:
test.py:140
test.test.synapse0xad381a0
def synapse0xad381a0
Definition:
test.py:100
test.test.synapse0xad37ce0
def synapse0xad37ce0
Definition:
test.py:88
test.test.synapse0xad37a90
def synapse0xad37a90
Definition:
test.py:82
test.test.synapse0xad38708
def synapse0xad38708
Definition:
test.py:112
test.test.neuron0xad37408
def neuron0xad37408
Definition:
test.py:14
test.test.synapse0xad37c90
def synapse0xad37c90
Definition:
test.py:84
test.test.synapse0xad38930
def synapse0xad38930
Definition:
test.py:118
test.test.synapse0xad37ee0
def synapse0xad37ee0
Definition:
test.py:90
test.test
Definition:
test.py:5
test.test.synapse0xad38c40
def synapse0xad38c40
Definition:
test.py:132
test.test.synapse0xad38658
def synapse0xad38658
Definition:
test.py:110
test.test.synapse0xad389a8
def synapse0xad389a8
Definition:
test.py:124
test.test.synapse0xad38bf0
def synapse0xad38bf0
Definition:
test.py:128
test.test.synapse0xad37f08
def synapse0xad37f08
Definition:
test.py:92
test.test.value
def value
Definition:
test.py:6
test.test.synapse0xad3c090
def synapse0xad3c090
Definition:
test.py:78
test.test.synapse0xad38438
def synapse0xad38438
Definition:
test.py:108
test.test.synapse0xad38410
def synapse0xad38410
Definition:
test.py:106
test.test.synapse0xad38f00
def synapse0xad38f00
Definition:
test.py:142
test.test.input1
input1
Definition:
test.py:8
test.test.synapse0xad38958
def synapse0xad38958
Definition:
test.py:120
exp
double exp(double)
test.test.neuron0xad378d8
def neuron0xad378d8
Definition:
test.py:18
test.test.synapse0xad38c90
def synapse0xad38c90
Definition:
test.py:136