|
|

|
|
|
|
|
|
VS2N (**V**isualization tool for **S**piking **N**eural **N**etworks) is an interactive web-based tool. It is designed to analyze and visualize collected information from SNN simulations.
|
|
|
VS2N (**V**isualization tool for **S**piking **N**eural **N**etworks) is an interactive web-based tool. It is designed to analyze and visualize the activity we collect from SNN simulators.
|
|
|
|
|
|
We can use VS2N to:
|
|
|
- Follow the development of our network during training.
|
... | ... | @@ -8,10 +8,10 @@ We can use VS2N to: |
|
|
- Debug any newly implemented component.
|
|
|
|
|
|
## Features
|
|
|
- **Modular nature**: the visualizations are considered as modules, anyone can add new modules for a specific analysis or problematic.
|
|
|
- **Simulator-independent**: any simulator can be used as long as the collected data follows a [certain schema](VS2N-MongoDB-schemas), which is supported by VS2N.
|
|
|
- **Scalability**: backed by the combination of Apache Spark and MongoDB for data processing, VS2N offers the possibility to be deployed on multi-nodes or cluster for better performance.
|
|
|
- **Dynamic analytics**: VS2N provides the possibility to move in time with the evolution of the network, which is not possible with the majority of the existing tools, that are based on analyzing static data.
|
|
|
- **Modular nature**: we consider the visualizations as modules. Anyone can add new modules for a specific analysis or problem.
|
|
|
- **Simulator-independent**: we can use any simulator as long as the collected data follows a [specific schema](VS2N-MongoDB-schemas), which VS2N supports.
|
|
|
- **Scalability**: backed by the combination of Apache Spark and MongoDB for data processing, we can deploy VS2N on multi-nodes or clusters for better performance.
|
|
|
- **Dynamic analytics**: VS2N provides the possibility to move in time with the evolution of the network, which is not possible with the majority of the existing tools based on analyzing static data.
|
|
|
|
|
|
---
|
|
|
## Content
|
... | ... | @@ -42,11 +42,11 @@ pip install -r requirements.txt |
|
|
|
|
|
1. If you want to add authentication to VS2N (optional):
|
|
|
|
|
|
- Generate users credentials (Email/Password) using `python manageUsers.py`
|
|
|
- Generate user's credentials (Email/Password) using `python manageUsers.py`
|
|
|
|
|
|
2. Rename `default.config.py` to `config.py`
|
|
|
|
|
|
3. If MongoDB is protected by a password:
|
|
|
3. If a password protects MongoDB:
|
|
|
|
|
|
- Add MongoDB credentials in `config.py`
|
|
|
|
... | ... | @@ -54,7 +54,7 @@ pip install -r requirements.txt |
|
|
4. Using Python >= 3.0 (**make sure MongoDB is running**) run `python VS2N.py` to start VS2N. If everything is fine, the web interface should appear automatically.
|
|
|
|
|
|
## Docker image
|
|
|
You can also use a docker image to run VS2N : https://hub.docker.com/r/helbez/vs2n
|
|
|
You can also use a docker image to run VS2N: https://hub.docker.com/r/helbez/vs2n.
|
|
|
|
|
|
## Folder structure
|
|
|
|
... | ... | |