final implementation of shc

This commit is contained in:
2025-09-26 14:18:00 +02:00
parent 0ace1cec3c
commit 90e67652ab
12 changed files with 186 additions and 462 deletions

View File

@@ -1,95 +1,113 @@
{
"cortex": {
"id": 0.5107239887106383,
"id": 0.17818153832773553,
"sensor_ids": [
5.685637947817566e-10
5.685438203051634e-10
],
"actuator_ids": [
5.685637947817563e-10
5.685438203051628e-10
],
"neuron_ids": [
0.3776999353275148,
0.7030052650887313,
0.9936497204289092
0.2035391483142075,
0.06722681140391684,
0.646276420829124
]
},
"sensor": {
"id": 5.685637947817566e-10,
"id": 5.685438203051634e-10,
"name": "xor_GetInput",
"vector_length": 2,
"cx_id": 0.5107239887106383,
"cx_id": 0.17818153832773553,
"fanout_ids": [
0.3776999353275148,
0.7030052650887313
0.2035391483142075,
0.06722681140391684
]
},
"actuator": {
"id": 5.685637947817563e-10,
"id": 5.685438203051628e-10,
"name": "xor_SendOutput",
"vector_length": 1,
"cx_id": 0.5107239887106383,
"cx_id": 0.17818153832773553,
"fanin_ids": [
0.9936497204289092
0.646276420829124
]
},
"neurons": [
{
"id": 0.3776999353275148,
"id": 0.2035391483142075,
"layer_index": 0,
"cx_id": 0.5107239887106383,
"cx_id": 0.17818153832773553,
"activation_function": "tanh",
"input_weights": [
{
"input_id": 5.685637947817566e-10,
"input_id": 5.685438203051634e-10,
"weights": [
-1.7328567115118854,
0.31546591460152307
]
}
],
"output_ids": [
0.24149710385676537
]
},
{
"id": 0.7030052650887313,
"layer_index": 0,
"cx_id": 0.5107239887106383,
"activation_function": "tanh",
"input_weights": [
{
"input_id": 5.685637947817566e-10,
"weights": [
1.507492385500833,
-1.5181033637128052
]
}
],
"output_ids": [
0.24149710385676537
]
},
{
"id": 0.9936497204289092,
"layer_index": 1,
"cx_id": 0.5107239887106383,
"activation_function": "tanh",
"input_weights": [
{
"input_id": 0.3776999353275148,
"weights": [
0.9998252528454215
6.283185307179586,
6.283185307179586
]
},
{
"input_id": 0.7030052650887313,
"input_id": "bias",
"weights": [
-1.7243886895741118
6.280908700445529
]
}
],
"output_ids": [
5.685637947817563e-10
0.43659818311553367
]
},
{
"id": 0.06722681140391684,
"layer_index": 0,
"cx_id": 0.17818153832773553,
"activation_function": "tanh",
"input_weights": [
{
"input_id": 5.685438203051634e-10,
"weights": [
6.283185307179586,
6.283185307179586
]
},
{
"input_id": "bias",
"weights": [
-6.283185307179586
]
}
],
"output_ids": [
0.43659818311553367
]
},
{
"id": 0.646276420829124,
"layer_index": 1,
"cx_id": 0.17818153832773553,
"activation_function": "tanh",
"input_weights": [
{
"input_id": 0.2035391483142075,
"weights": [
6.283185307179586
]
},
{
"input_id": 0.06722681140391684,
"weights": [
-6.283185307179586
]
},
{
"input_id": "bias",
"weights": [
-6.283185307179586
]
}
],
"output_ids": [
5.685438203051628e-10
]
}
]