Skip to content

Commit 60776b4

Browse files
committed
dye: make PI kind of work with more realistic parameters and less scaling of the output
1 parent 130c0e9 commit 60776b4

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

lib/pim/models/new/stone/dye.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def update_weights(self, inputs: Output, dt: float):
2222
pass
2323

2424
def output(self, network: Network) -> Output:
25-
return network.output("CPU4") * self.weights * 300000
25+
return network.output("CPU4") * self.weights * 5
2626
#return np.log10(network.output("CPU4") * self.weights) + 6 #* 30000
2727

2828

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"experiments": {
3+
"stone": {
4+
"model": "stone",
5+
"T_outbound": 1500,
6+
"T_inbound": 1500,
7+
"noise": 0.1,
8+
"cx": "dye",
9+
"record": ["CPU4", "memory"],
10+
"phi": 0.015,
11+
"beta": 0.1,
12+
"T_half": 137.66577568221356,
13+
"epsilon": 2e5,
14+
"length": 10e-4,
15+
"c_tot": 0.3
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)