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