Schemas document updated authored by Elbez Hammouda's avatar Elbez Hammouda
......@@ -79,7 +79,11 @@ The second one contains optional information, which is collected if there was a
"properties" : {
"_id" : { "bsonType": "objectId" }, // id
"MaxS" : { "bsonType": "string" }, // network accuracy (Max Spike)
"NLabel" : { "<Array of JSON>" }, // neurons labels
"NLabel" : [{ // neurons labels
"L": { "bsonType": "string" },
"N": { "bsonType": "int" },
"Label": { "bsonType": "int" }
}]
}
}
```
......@@ -116,7 +120,7 @@ In this collection, we collect every spike activity in the network during traini
"T" : { "bsonType": "NumberLong" }, // time of spike
"i" : { // layer name : neuron id
"L": { "bsonType": "string" },
"N": { "bsonType": "int" }
"N": { "bsonType": "int" }
},
"Input" : { "bsonType": "int" } // label of current input data (if it exists)
}
......@@ -151,7 +155,7 @@ In this collection, we collect every neuron membrane potential activity in the n
"_id" : { "bsonType": "objectId" }, // id
"T" : { "bsonType": "NumberLong" }, // time of update
"L" : { "bsonType": "string" }, // layer name
"N" : { "bsonType": "int" }, // neuron id
"N" : { "bsonType": "int" }, // neuron id
"V" : { "bsonType": "double" } // the new potential value
}
}
......@@ -187,12 +191,13 @@ In this collection, we collect every synapse weight activity in the network duri
"properties" : {
"_id" : { "bsonType": "objectId" }, // id
"T" : { "bsonType": "NumberLong" }, // time of synapse update
"C" : { "bsonType": "int" }, // destination neuron id
"To" : { "bsonType": "int" }, // source neuron id
"C" : { "bsonType": "int" }, // destination neuron id
"To" : { "bsonType": "int" }, // source neuron id
"V" : { "bsonType": "double" }, // weight value
"index" : { // index coordinates
"x": { "bsonType": "int" },
"y": { "bsonType": "int" }}
"x": { "bsonType": "int" },
"y": { "bsonType": "int" }
}
}
}
```
......
......