Project members:
- Manjusha Trilochan Awasthi (mawasth)
- Kriti Shrivastava (kshriva)
- Rachit Thirani (rthiran)
This is an implementation for the algorithm from the paper 4: NetSimile: A Scalable Approach to Size-Independent Network Similarity
Python version used: Python 3.6.0
OS used: Windows 10 64bit (RAM:16GB)
Python libraries needed:
- Networkx: install using the command "pip install networkx" or follow the instructions mentioned here https://networkx.github.io/documentation/development/install.html
- Numpy: install using the command "pip install numpy" or follow the intructions mentioned here https://docs.scipy.org/doc/numpy/user/install.html
Instructions to run the program:
- Go the the directory containing the python script.
- Give the command "python anomaly.py graphname" where graphname is the name of the graph you want to find the communities for. ex. python anomaly.py voices
Output of the program:
- Text files: Contains the similarity scores (Canberra distance) between the consequent graphs in the time series. These files are generated in the directory containing the python script under /output/files/. Ex."voices_time_series.txt"
- Graph plots: Plot between the similarity score (Canberra distance) between the graphs and the time series. The red horizontal line is the threshold used for detecting anomalies. These plots are generated in the directory containing the python script under /output/plot/. Ex."voices_time_series.png"